Add Nginx config for Seafile (not used).
This commit is contained in:
parent
cc7563b74d
commit
96a237b8af
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue