Advertisement
Guest User

Nginx conf

a guest
Apr 4th, 2021
766
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. ## Version 2020/12/09
  2. # make sure that your dns has a cname set for joplin and that your joplin container is not using a base url
  3.  
  4. server {
  5. listen 443 ssl;
  6. listen [::]:443 ssl;
  7.  
  8. server_name joplin.*;
  9.  
  10. include /config/nginx/ssl.conf;
  11.  
  12. client_max_body_size 0;
  13.  
  14. location / {
  15.  
  16. include /config/nginx/proxy.conf;
  17. resolver 127.0.0.11 valid=30s;
  18. set $upstream_app joplin;
  19. set $upstream_port 22300;
  20. set $upstream_proto https;
  21. proxy_pass $upstream_proto://$upstream_app:$upstream_port;
  22.  
  23. #proxy_pass https://172.18.0.18:22300;
  24.  
  25. }
  26.  
  27. }
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement