Add Nginx config for Seafile (not used).

This commit is contained in:
Jonathan Chan 2021-10-23 04:39:43 +00:00
parent cc7563b74d
commit 96a237b8af
2 changed files with 15 additions and 1 deletions

14
sea.ionathan.ch Normal file
View File

@ -0,0 +1,14 @@
server {
server_name sea.ionathan.ch;
listen 80;
listen [::]:80;
client_max_body_size 512M;
add_header Strict-Transport-Security "max-age=15552000; includeSubDomains" always;
location / {
proxy_pass http://localhost:8008;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}

View File

@ -1,7 +1,7 @@
server {
server_name wiki.ert.space;
location / {
proxy_pass https://ionchypedia.readthedocs.io:443;
proxy_pass https://github.com/ionathanch/ionathanch/wiki;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}