forked from exozyme/nginx
Add pixivfe.conf
This commit is contained in:
parent
e58c22e34a
commit
f2df4d2349
1 changed files with 16 additions and 0 deletions
16
pixivfe.conf
Normal file
16
pixivfe.conf
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue