From 212b02a1671e03ad3f241b051c9e4b63c6adc9e2 Mon Sep 17 00:00:00 2001 From: Abhinav Sarkar Date: Fri, 19 Jun 2020 18:01:12 +0530 Subject: [PATCH] Adds config for site/webring --- nginx-conf/site.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nginx-conf/site.conf b/nginx-conf/site.conf index b0cdc30..f8f9196 100644 --- a/nginx-conf/site.conf +++ b/nginx-conf/site.conf @@ -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;