Skip to content

Instantly share code, notes, and snippets.

@timo
Created May 18, 2019 14:22
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 timo/e9d36813a388d91c8abc17e58714cb69 to your computer and use it in GitHub Desktop.
Save timo/e9d36813a388d91c8abc17e58714cb69 to your computer and use it in GitHub Desktop.
rakudo.org's current nginx configuration, lacking the "known old URLs rewrites" section
server {
listen 80;
listen [::]:80;
listen 443 ssl;
server_name rakudo.org rakudo.perl6.org;
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