Created
August 17, 2018 14:18
-
-
Save jmlrt/77876c64ddabac24c37880efe8565460 to your computer and use it in GitHub Desktop.
Default Nginx config for Gateway with HTTPS
This file contains hidden or 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 localhost; | |
location / { | |
proxy_pass http://gateway:8080; | |
} | |
} | |
server { | |
listen 443 ssl; | |
server_name localhost; | |
ssl_certificate /etc/ssl/certs/nginx-selfsigned.crt; | |
ssl_certificate_key /etc/ssl/private/nginx-selfsigned.key; | |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; | |
ssl_ciphers HIGH:!aNULL:!MD5; | |
location / { | |
proxy_pass http://gateway:8080; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment