Initial commit
This commit is contained in:
20
conf/nginx/site-enabled_aether-phpmyadmin.conf
Normal file
20
conf/nginx/site-enabled_aether-phpmyadmin.conf
Normal file
@@ -0,0 +1,20 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name phpmyadmin-oneskyit.localhost phpmyadmin.oneskyit.com;
|
||||
|
||||
access_log /logs/nginx/access_oneskyit_phpmyadmin.log;
|
||||
|
||||
index index.php;
|
||||
|
||||
location / {
|
||||
proxy_pass http://phpmyadmin:80;
|
||||
proxy_pass_header Content-Type;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade; # allow websockets
|
||||
proxy_pass_header Connection;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user