Adds config for site/webring
This commit is contained in:
parent
1a56e29221
commit
212b02a167
@ -10,6 +10,7 @@ server {
|
|||||||
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
|
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
|
||||||
|
|
||||||
proxy_set_header X-Real-IP $remote_addr; # pass on real client IP
|
proxy_set_header X-Real-IP $remote_addr; # pass on real client IP
|
||||||
|
charset UTF-8;
|
||||||
|
|
||||||
location /feed.xml {
|
location /feed.xml {
|
||||||
return 301 https://$host/feed.atom;
|
return 301 https://$host/feed.atom;
|
||||||
@ -21,6 +22,12 @@ server {
|
|||||||
deny all;
|
deny all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /webring {
|
||||||
|
proxy_pass http://site:3000;
|
||||||
|
proxy_hide_header X-Frame-Options;
|
||||||
|
add_header Access-Control-Allow-Origin "*";
|
||||||
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://site:3000;
|
proxy_pass http://site:3000;
|
||||||
proxy_hide_header Cache-Control;
|
proxy_hide_header Cache-Control;
|
||||||
|
Loading…
Reference in New Issue
Block a user