Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- upstream channels-backend {
- server localhost:9099;
- }
- location / {
- include proxy_params;
- proxy_pass http://0.0.0.0:9089;
- try_files $uri @proxy_to_app;
- }
- Supervisor localhost:9099
- =================================================
- upstream channels-backend {
- server localhost:8099;
- }
- location / {
- include proxy_params;
- proxy_pass http://0.0.0.0:8089;
- try_files $uri @proxy_to_app;
- }
- Supervisor localhost:8099
- alexander@ubuntu-clear:/etc/nginx/sites-enabled$ sudo systemctl restart nginx
- Job for nginx.service failed because the control process exited with error code.
- See "systemctl status nginx.service" and "journalctl -xe" for details.
- alexander@ubuntu-clear:/etc/nginx/sites-enabled$ systemctl status nginx.service
- ● nginx.service - A high performance web server and a reverse proxy server
- Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
- Active: failed (Result: exit-code) since Mon 2021-01-11 12:33:47 UTC; 28s ago
- Docs: man:nginx(8)
- Process: 4253 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
- Process: 32377 ExecReload=/usr/sbin/nginx -g daemon on; master_process on; -s reload (code=exited, status=0/SUCCESS)
- Process: 9487 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
- Main PID: 912 (code=exited, status=0/SUCCESS)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement