I am always redirect to https://mydomain .... How can i STOP this?
upstream navi_profi_server {
server unix:/tmp/navi-profi.sock fail_timeout=0;
}
server {
listen 80;
client_max_body_size 4G;
server_name _;
keepalive_timeout 5;
root /home/navi-profi/app/current/;
location / {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_redirect off;
if (!-f $request_filename) {
proxy_pass http://navi_profi_server;
break;
}
}
error_page 500 502 503 504 /500.html;
location = /500.html {
root /home/navi-profi/app/shared/public;
}
}