Last active
January 28, 2021 02:59
-
-
Save Gourds/ae0fde3ecc24b6e0afd9165eac7e8874 to your computer and use it in GitHub Desktop.
nginx-vouch_config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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