joplin. Added nginx config example including proxy_set_header for 'Host'.
This commit is contained in:
parent
5fd5704200
commit
520bfc1bc5
17
joplin/nginx/joplin.conf
Normal file
17
joplin/nginx/joplin.conf
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
server {
|
||||||
|
listen 443 ssl http2;
|
||||||
|
server_name joplin.domain.tld;
|
||||||
|
|
||||||
|
access_log /var/log/nginx/joplin.domain.tld.access;
|
||||||
|
error_log /var/log/nginx/joplin.domain.tld.error;
|
||||||
|
|
||||||
|
charset utf-8;
|
||||||
|
|
||||||
|
location / {
|
||||||
|
proxy_set_header Host $host;
|
||||||
|
proxy_pass http://127.0.0.1:8030;
|
||||||
|
}
|
||||||
|
|
||||||
|
# Wildcard certificate config
|
||||||
|
#include ssl/joplin.domain.tld.conf;
|
||||||
|
}
|
Loading…
Reference in a new issue