Add pixivfe.conf

This commit is contained in:
VnPower 2023-06-12 13:25:59 +00:00
parent e58c22e34a
commit f2df4d2349
Signed by: exogit
GPG key ID: 1DDC6BC38786C595

16
pixivfe.conf Normal file
View file

@ -0,0 +1,16 @@
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;
}
}