jean-cloud-services/sites-enabled.vandamme/wiki-cgr.jean-cloud.net
2024-01-02 17:50:14 +01:00

31 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/letsencrypt/live/wiki-cgr.jean-cloud.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/wiki-cgr.jean-cloud.net/privkey.pem;
server_name wiki-cgr.jean-cloud.net www.wiki-cgr.jean-cloud.net;
location / {
client_max_body_size 2G;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://mediawiki.wiki-cgrjean-cloudnet.docker;
proxy_redirect off;
}
}
# Is the parsoid mutualisable on all wikis ?
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/letsencrypt/live/wiki-cgr.jean-cloud.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/wiki-cgr.jean-cloud.net/privkey.pem;
server_name parsoid-wiki-cgr.jean-cloud.net www.parsoid-wiki-cgr.jean-cloud.net;
location / {
client_max_body_size 2G;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header Host $http_host;
proxy_pass http://parsoid.wiki-cgrjean-cloudnet.docker;
proxy_redirect off;
}
}