Změny (z gimliho) v konfiguraci nginxu, které asi chceme
This commit is contained in:
parent
476f8263d4
commit
49aea5b8b4
2 changed files with 8 additions and 6 deletions
|
@ -7,11 +7,10 @@ server {
|
|||
}
|
||||
server {
|
||||
# SSL configuration
|
||||
listen 195.113.20.177:443 ssl;
|
||||
listen [2001:718:1e03:801::b1]:443 ssl;
|
||||
listen 195.113.20.177:443 ssl http2;
|
||||
listen [2001:718:1e03:801::b1]:443 ssl http2;
|
||||
|
||||
# SSL keys
|
||||
ssl on;
|
||||
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_dhparam /etc/ssl/dhparams.pem;
|
||||
|
@ -33,6 +32,10 @@ server {
|
|||
root /akce/mam/www/mamweb-test/;
|
||||
}
|
||||
|
||||
location /docs {
|
||||
alias /akce/mam/www/mamweb-test/docs/_build/html/;
|
||||
}
|
||||
|
||||
location /aesop-export/ {
|
||||
auth_basic "AESOP API";
|
||||
auth_basic_user_file /akce/mam/www/mamweb-test/.htpasswd-aesop;
|
||||
|
|
|
@ -9,11 +9,10 @@ server {
|
|||
server {
|
||||
# SSL configuration
|
||||
#
|
||||
listen 195.113.20.177:443 ssl;
|
||||
listen [2001:718:1e03:801::b1]:443 ssl;
|
||||
listen 195.113.20.177:443 ssl http2;
|
||||
listen [2001:718:1e03:801::b1]:443 ssl http2;
|
||||
|
||||
# SSL keys
|
||||
ssl on;
|
||||
ssl_certificate /etc/ssl/domains/mam.mff.cuni.cz/bundle.pem;
|
||||
ssl_certificate_key /etc/ssl/domains/mam.mff.cuni.cz/privkey.pem;
|
||||
ssl_dhparam /etc/ssl/dhparams.pem;
|
||||
|
|
Loading…
Reference in a new issue