aboutsummaryrefslogtreecommitdiff
path: root/data/freshrss
diff options
context:
space:
mode:
Diffstat (limited to 'data/freshrss')
-rw-r--r--data/freshrss/freshrss.conf38
1 files changed, 38 insertions, 0 deletions
diff --git a/data/freshrss/freshrss.conf b/data/freshrss/freshrss.conf
new file mode 100644
index 0000000..eecc2e3
--- /dev/null
+++ b/data/freshrss/freshrss.conf
@@ -0,0 +1,38 @@
1server {
2 listen 443 ssl;
3 server_name rss.chudnick.com;
4
5 ssl_certificate /etc/letsencrypt/live/chudnick.com/fullchain.pem;
6 ssl_certificate_key /etc/letsencrypt/live/chudnick.com/privkey.pem;
7 add_header Strict-Transport-Security "max-age=31536000" always;
8 ssl_stapling on;
9 ssl_stapling_verify on;
10
11 # Security / XSS Mitigation Headers
12 add_header X-Frame-Options "SAMEORIGIN";
13 add_header X-XSS-Protection "1; mode=block";
14 add_header X-Content-Type-Options "nosniff";
15
16 # authelia
17 include /etc/nginx/snippets/authelia-location.conf;
18
19 location / {
20 #authelia
21 include /etc/nginx/snippets/proxy.conf;
22 include /etc/nginx/snippets/authelia-authrequest.conf;
23
24 proxy_pass http://127.0.0.1:8090/;
25
26 # Forward the Authorization header for the Google Reader API.
27 proxy_set_header Authorization $http_authorization;
28 proxy_pass_header Authorization;
29 }
30
31}
32
33server {
34 listen 80;
35 listen [::]:80;
36 server_name rss.chudnick.com;
37 return 301 https://$host$request_uri;
38}