Commit 1230700a authored by nanahira's avatar nanahira

pma

parent d118100d
Pipeline #3216 passed with stages
in 1 minute and 16 seconds
server {
listen 80;
listen 443 ssl http2;
server_name pma.momobako.com;
if ($https != "on") {
return 301 https://$host$request_uri;
}
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto https;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;
proxy_pass http://pma;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment