Browse Source

Změny (z gimliho) v konfiguraci nginxu, které asi chceme

pull/58/head
Jonas Havelka 5 months ago
parent
commit
49aea5b8b4
  1. 9
      setup/nginx/mam-test.ks.matfyz.cz
  2. 5
      setup/nginx/mam.mff.cuni.cz

9
setup/nginx/mam-test.ks.matfyz.cz

@ -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;

5
setup/nginx/mam.mff.cuni.cz

@ -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…
Cancel
Save