jean-cloud-services/services/feteducourt.jean-cloud.net/nginx_server.conf

21 lines
634 B
Plaintext
Raw Normal View History

2023-04-24 10:11:09 +00:00
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
ssl_certificate /etc/letsencrypt/live/feteducourt.jean-cloud.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/feteducourt.jean-cloud.net/privkey.pem;
server_name feteducourt.jean-cloud.net www.feteducourt.jean-cloud.net;
#location /static {
# alias /data/feteducourt.jean-cloud.net/app/static;
# try_files $uri $uri/ =404;
#}
#location / {
# proxy_pass http://app.feteducourtjean-cloudnet.docker;
# proxy_set_header Host $host;
#}
location / {
root /data/feteducourt.jean-cloud.net/static;
try_files $uri $uri/ =404;
}
}