Last active
February 11, 2018 18:19
-
-
Save gil-obradors/093fa7d0001a4b92874c281cd09a6feb to your computer and use it in GitHub Desktop.
nginx redirect
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 80; | |
server_name h135; | |
return 301 https://h135:8006; | |
} | |
server { | |
listen 443; | |
ssl on; | |
ssl_certificate /etc/pve/pve-root-ca.pem; | |
ssl_certificate_key /etc/pve/priv/pve-root-ca.key; | |
return 301 https://h135:8006; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment