|
@ -7,11 +7,10 @@ server { |
|
|
} |
|
|
} |
|
|
server { |
|
|
server { |
|
|
# SSL configuration |
|
|
# SSL configuration |
|
|
listen 195.113.20.177:443 ssl; |
|
|
listen 195.113.20.177:443 ssl http2; |
|
|
listen [2001:718:1e03:801::b1]:443 ssl; |
|
|
listen [2001:718:1e03:801::b1]:443 ssl http2; |
|
|
|
|
|
|
|
|
# SSL keys |
|
|
# SSL keys |
|
|
ssl on; |
|
|
|
|
|
ssl_certificate /etc/letsencrypt/live/mam-test.ks.matfyz.cz/fullchain.pem; # managed by Certbot |
|
|
ssl_certificate /etc/letsencrypt/live/mam-test.ks.matfyz.cz/fullchain.pem; # managed by Certbot |
|
|
ssl_certificate_key /etc/letsencrypt/live/mam-test.ks.matfyz.cz/privkey.pem; # managed by Certbot |
|
|
ssl_certificate_key /etc/letsencrypt/live/mam-test.ks.matfyz.cz/privkey.pem; # managed by Certbot |
|
|
ssl_dhparam /etc/ssl/dhparams.pem; |
|
|
ssl_dhparam /etc/ssl/dhparams.pem; |
|
@ -33,6 +32,10 @@ server { |
|
|
root /akce/mam/www/mamweb-test/; |
|
|
root /akce/mam/www/mamweb-test/; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
location /docs { |
|
|
|
|
|
alias /akce/mam/www/mamweb-test/docs/_build/html/; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
location /aesop-export/ { |
|
|
location /aesop-export/ { |
|
|
auth_basic "AESOP API"; |
|
|
auth_basic "AESOP API"; |
|
|
auth_basic_user_file /akce/mam/www/mamweb-test/.htpasswd-aesop; |
|
|
auth_basic_user_file /akce/mam/www/mamweb-test/.htpasswd-aesop; |
|
|