Open piyushcoader opened 9 years ago
Hi, I created a nginx sites-enabled conf file as server { listen *:80;
server_name todo.cefware.com
access_log /var/log/nginx/todo.cefware.com.access.log; error_log /var/log/nginx/todo.cefware.com.error.log;
location / { proxy_pass http://127.0.0.1:3001; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header X-Forwarded-For $remote_addr; } }
After that i created a symlink to /Sites-enabled forlder when i go to http://todo.cefware.com:3001/ works fine but doesn'tload the app in http://todo.cefware.com
Thanks i solved it the issue was due to semicolon i have created a bash script which will run automatically point to the application...
Hi, I created a nginx sites-enabled conf file as server { listen *:80;
server_name todo.cefware.com
access_log /var/log/nginx/todo.cefware.com.access.log; error_log /var/log/nginx/todo.cefware.com.error.log;
location / { proxy_pass http://127.0.0.1:3001; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection 'upgrade'; proxy_set_header X-Forwarded-For $remote_addr; } }
After that i created a symlink to /Sites-enabled forlder when i go to http://todo.cefware.com:3001/ works fine but doesn'tload the app in http://todo.cefware.com