joplin. Added nginx config example including proxy_set_header for 'Host'.

This commit is contained in:
Alexey Skobkin 2022-02-17 16:43:11 +03:00
parent 5fd5704200
commit 520bfc1bc5
1 changed files with 17 additions and 0 deletions

17
joplin/nginx/joplin.conf Normal file
View 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;
}