Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 443 default_server;
- server_name staxnode1.staxhost.net;
- ssl on;
- ssl_certificate "/etc/letsencrypt/live/staxnode1.staxhost.net/fullchain.pem";
- ssl_certificate_key "/etc/letsencrypt/live/staxnode1.staxhost.net/privkey.pem";
- ssl_session_cache shared:SSL:10m;
- location / {
- proxy_pass http://192.168.1.50:8080; # my existing apache instance
- proxy_set_header Host $host;
- # re-write redirects to http as to https, example: /home
- proxy_redirect http:// https://;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement