Skip to content
Snippets Groups Projects
Commit e60ac2c0 authored by Bob Mottram's avatar Bob Mottram
Browse files

Use proxy pass

parent fa591782
No related branches found
No related tags found
No related merge requests found
......@@ -391,8 +391,7 @@ function install_etesync {
echo '';
echo ' client_max_body_size 75M;';
echo ' location / {';
echo ' include /etc/nginx/uwsgi_params;';
echo " uwsgi_pass localhost:${ETESYNC_PORT_INTERNAL};";
echo " proxy_pass http://localhost:${ETESYNC_PORT_INTERNAL};";
echo ' }';
echo '';
echo ' location /static {';
......@@ -421,8 +420,7 @@ function install_etesync {
echo '';
echo ' client_max_body_size 75M;';
echo ' location / {';
echo ' include /etc/nginx/uwsgi_params;';
echo " uwsgi_pass localhost:${ETESYNC_PORT_INTERNAL};";
echo " proxy_pass http://localhost:${ETESYNC_PORT_INTERNAL};";
echo ' }';
echo '';
echo ' location /static {';
......
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