Skip to content

Instantly share code, notes, and snippets.

@gil-obradors
Last active February 11, 2018 18:19
Show Gist options
  • Save gil-obradors/093fa7d0001a4b92874c281cd09a6feb to your computer and use it in GitHub Desktop.
Save gil-obradors/093fa7d0001a4b92874c281cd09a6feb to your computer and use it in GitHub Desktop.
nginx redirect
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