forked from exozyme/nginx
16 lines
504 B
Text
16 lines
504 B
Text
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
|
|
server_name pixivfe.exozy.me;
|
|
|
|
add_header Strict-Transport-Security "max-age=15768000; includeSubDomains";
|
|
add_header Access-Control-Allow-Origin *;
|
|
|
|
location / {
|
|
proxy_pass http://localhost:3754;
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_set_header Host $http_host;
|
|
}
|
|
} |