Skip to content
Snippets Groups Projects
Commit f08e951d authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Merge branch 'nkupdates' into 'main'

fix: fixed missing server certificate lines from nginx ssl template config

See merge request !30
parents 32441c2a 8b52dbfb
Branches
No related tags found
1 merge request!30fix: fixed missing server certificate lines from nginx ssl template config
......@@ -34,13 +34,13 @@ server {
access_log off;
}
location /static/ {
location /static/ {
alias /app/static/;
location ~* \.(js|css|gif|ico|jpg|jpeg|png)$ {
expires max;
}
}
}
location / {
# Pass request to UWSGI
......
......@@ -34,13 +34,13 @@ server {
access_log off;
}
location /static/ {
location /static/ {
alias /app/static/;
location ~* \.(js|css|gif|ico|jpg|jpeg|png)$ {
expires max;
}
}
}
location / {
# Pass request to UWSGI
......@@ -49,4 +49,7 @@ server {
# Include uwsgi_params settings
include uwsgi_params;
}
ssl_certificate /etc/letsencrypt/live/@CERTBOT_CERT_NAME@/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/@CERTBOT_CERT_NAME@/privkey.pem;
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment