Adds config for site/webring

This commit is contained in:
Abhinav Sarkar 2020-06-19 18:01:12 +05:30
parent 1a56e29221
commit 212b02a167

View File

@ -10,6 +10,7 @@ server {
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
proxy_set_header X-Real-IP $remote_addr; # pass on real client IP
charset UTF-8;
location /feed.xml {
return 301 https://$host/feed.atom;
@ -21,6 +22,12 @@ server {
deny all;
}
location /webring {
proxy_pass http://site:3000;
proxy_hide_header X-Frame-Options;
add_header Access-Control-Allow-Origin "*";
}
location / {
proxy_pass http://site:3000;
proxy_hide_header Cache-Control;