29 lines
923 B
Plaintext
Executable File
29 lines
923 B
Plaintext
Executable File
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
ssl_certificate /etc/letsencrypt/live/collectif-arthadie.fr/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/collectif-arthadie.fr/privkey.pem;
|
|
server_name wordpress.collectif-arthadie.fr www.wordpress.collectif-arthadie.fr;
|
|
location / {
|
|
client_max_body_size 2G;
|
|
#proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header Host $http_host;
|
|
proxy_set_header X-Forwarded-Proto https;
|
|
proxy_pass http://172.29.6.100;
|
|
proxy_redirect off;
|
|
}
|
|
}
|
|
|
|
server {
|
|
listen 443 ssl http2;
|
|
listen [::]:443 ssl http2;
|
|
ssl_certificate /etc/letsencrypt/live/collectif-arthadie.fr/fullchain.pem;
|
|
ssl_certificate_key /etc/letsencrypt/live/collectif-arthadie.fr/privkey.pem;
|
|
server_name collectif-arthadie.fr www.collectif-arthadie.fr;
|
|
|
|
location / {
|
|
root /data/collectif-arthadie.fr/static;
|
|
try_files $uri $uri/ =404;
|
|
}
|
|
}
|