Skip to content
Snippets Groups Projects
Verified Commit 92071bd1 authored by Frank Sauerburger's avatar Frank Sauerburger
Browse files

Fix proto header and remove cache

parent ae5b14c0
No related branches found
No related tags found
1 merge request!8Resolve "Add deployment"
Checking pipeline status
......@@ -29,11 +29,6 @@ http {
root /var/webcontent/public;
uwsgi_cache_path /var/webcache levels=1:2 keys_zone=my_cache:10m max_size=10g
inactive=48h use_temp_path=off;
uwsgi_cache_key $request_uri;
uwsgi_cache_valid 200 48h;
uwsgi_cache_min_uses 1;
client_max_body_size 25m;
server {
......@@ -44,8 +39,7 @@ http {
location / {
include uwsgi_params;
uwsgi_pass hub:8080;
uwsgi_param X-Forwarded-Proto https;
uwsgi_cache my_cache;
uwsgi_param HTTP_X_FORWARDED_PROTO https;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment