Skip to content

Instantly share code, notes, and snippets.

@Gourds
Last active January 28, 2021 02:59
Show Gist options
  • Save Gourds/ae0fde3ecc24b6e0afd9165eac7e8874 to your computer and use it in GitHub Desktop.
Save Gourds/ae0fde3ecc24b6e0afd9165eac7e8874 to your computer and use it in GitHub Desktop.
nginx-vouch_config
server {
listen 2081;
server_name vouch.taiheops.com;
#ssl_certificate /etc/letsencrypt/live/login.avocado.lol/fullchain.pem;
#ssl_certificate_key /etc/letsencrypt/live/login.avocado.lol/privkey.pem;
# Proxy to your Vouch instance
location / {
proxy_set_header Host vouch.taiheops.com;
#proxy_set_header X-Forwarded-Proto https;
proxy_pass http://127.0.0.1:9090;
}
# location /auth/ {
# rewrite ^ http://test_sso_nginx_a.taiheops.com:2081;
# }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment