Projekt

Obecné

Profil

« Předchozí | Další » 

Revize a60193de

Přidáno uživatelem Tomáš Ballák před asi 4 roky(ů)

Feature Re #7745 nginx configuration

Zobrazit rozdíly:

docker/nginx/sites/default.conf
1 1
server {
2
    listen 443 ssl;
2 3
    listen 80 default_server;
3 4
    listen [::]:80 default_server ipv6only=on;
4 5

  
5
    server_name localhost;
6
    server_name heatmap.zcu.cz www.heatmap.zcu.cz;
7
    ssl_certificate /etc/letsencrypt/heatmap.zcu.cz/heatmap.zcu.cz.cer;
8
    ssl_certificate_key /etc/letsencrypt/heatmap.zcu.cz/privkey.key;
9

  
10
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
11
    ssl_prefer_server_ciphers on;
12
    ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
13

  
6 14
    root /var/www/symfony/public;
15

  
7 16
    index index.php index.html index.htm;
8 17

  
9 18
    location / {
10
         try_files $uri $uri/ /index.php$is_args$args;
19
        try_files $uri $uri/ /index.php$is_args$args;
11 20
    }
12 21

  
13 22
    location ~ \.php$ {

Také k dispozici: Unified diff