Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- include /etc/nginx/proxy/upstream.conf;
- server {
- listen 80;
- listen [::]:80;
- #Redirect non-https traffic to https
- if ($scheme != "https") {
- return 301 https://$host$request_uri;
- } # managed by Certbot
- listen 443 ssl http2;
- listen [::]:443 ssl http2;
- # the virtual host name of this
- server_name guac.e-corp.rip;
- include /etc/nginx/proxy/default.proxy;
- include /etc/nginx/snippets/ssl.conf;
- location / {
- proxy_pass http://guac-upstream;
- }
- }
Advertisement