Skip to content

Instantly share code, notes, and snippets.

Created December 29, 2015 15:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/57b0a705047934bdd5ac to your computer and use it in GitHub Desktop.
Save anonymous/57b0a705047934bdd5ac to your computer and use it in GitHub Desktop.
server {
listen 443;
server_name localhost;
ssl on;
ssl_certificate /CRT/FILE/GOES/HERE.crt;
ssl_certificate_key /KEY/FILE/GOES/HERE.key;
ssl_session_timeout 5m;
ssl_protocols SSLv3 TLSv1;
ssl_ciphers ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv3:+EXP;
ssl_prefer_server_ciphers on;
location / {
root /home/ubuntu/Workspace/ravello_training/training-webapp/target;
}
location /rest {
proxy_pass http://localhost:3000;
}
location /download {
proxy_pass http://localhost:3000;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment