diff options
Diffstat (limited to 'ansible/numquam.yml')
-rw-r--r-- | ansible/numquam.yml | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ansible/numquam.yml b/ansible/numquam.yml index e423886..d98ef11 100644 --- a/ansible/numquam.yml +++ b/ansible/numquam.yml @@ -42,6 +42,7 @@ state: started - become: yes + tags: nginx copy: dest: /etc/nginx/sites-enabled/odoo.trygvis.io content: | @@ -49,6 +50,8 @@ server { server_name odoo.trygvis.io; + access_log /var/log/nginx/odoo.trygvis.io-access; + error_log /var/log/nginx/odoo.trygvis.io-error error; listen 443 ssl; # managed by Certbot ssl_certificate /etc/letsencrypt/live/odoo.trygvis.io/fullchain.pem; # managed by Certbot @@ -57,11 +60,6 @@ ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot location / { - # try_files $uri @proxy; - # } - # - - # location @proxy { proxy_set_header Host $host; # proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; # proxy_set_header X-Forwarded-Proto $scheme; @@ -93,5 +91,4 @@ listen 80; return 404; } - tags: x notify: reload nginx |