diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2019-07-21 12:44:15 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2019-08-08 09:03:13 +0200 |
commit | 78b127b8df70a2060d8d08e69ac9d9fddfb4fcd1 (patch) | |
tree | cec4e25d04935a99ac899ace1540fec36fb97ee0 /ansible/numquam.yml | |
parent | ed28fe7b677e442124e93825fefb94ba0c187a26 (diff) | |
download | infra-78b127b8df70a2060d8d08e69ac9d9fddfb4fcd1.tar.gz infra-78b127b8df70a2060d8d08e69ac9d9fddfb4fcd1.tar.bz2 infra-78b127b8df70a2060d8d08e69ac9d9fddfb4fcd1.tar.xz infra-78b127b8df70a2060d8d08e69ac9d9fddfb4fcd1.zip |
o odoo.
Diffstat (limited to 'ansible/numquam.yml')
-rw-r--r-- | ansible/numquam.yml | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/ansible/numquam.yml b/ansible/numquam.yml index 35fff62..e423886 100644 --- a/ansible/numquam.yml +++ b/ansible/numquam.yml @@ -57,10 +57,11 @@ ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot location / { - try_files $uri @proxy; - } + # try_files $uri @proxy; + # } + # - location @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; @@ -69,6 +70,18 @@ proxy_read_timeout 300s; proxy_send_timeout 300s; } + + location /longpolling { + proxy_pass http://127.0.0.1:8070; + } + + # # cache some static data in memory for 60mins + # location ~* /web/static/ { + # proxy_cache_valid 200 60m; + # proxy_buffering on; + # expires 864000; + # proxy_pass http://127.0.0.1:8069; + # } } server { |