Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- server_name <mydomain>;
- #access_log /var/log/nginx/host.access.log main;
- location / {
- root /usr/share/nginx/html;
- index index.html index.htm;
- }
- location /MYBOTTOKEN {
- proxy_pass http://127.0.0.1:5000/1/;
- }
- location = /50x.html {
- root /usr/share/nginx/html;
- }
- listen 443 ssl; # managed by Certbot
- ssl_certificate /fullchain.pem; # managed by Certbot
- ssl_certificate_key /privkey.pem; # managed by Certbot
- include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
- ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
- }
Advertisement
Add Comment
Please, Sign In to add comment