Created
July 18, 2019 16:58
-
-
Save timo/231d72dfd701a943b33ebcd27d5ad692 to your computer and use it in GitHub Desktop.
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; | |
listen [::]:80; | |
listen 443 ssl; | |
server_name rakudo.org rakudo.perl6.org; | |
location ~ /files/rakudo$ { | |
return 302 https://github.com/rakudo/rakudo/releases; | |
} | |
location ~ /$ { | |
proxy_pass http://localhost:4242/$uri; | |
} | |
location / { | |
proxy_pass http://localhost:4242/; | |
} | |
ssl_certificate /etc/letsencrypt/live/docs.perl6.wakelift.de/fullchain.pem; # managed by Certbot | |
ssl_certificate_key /etc/letsencrypt/live/docs.perl6.wakelift.de/privkey.pem; # managed by Certbot | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment