Advertisement
Mochinov

Untitled

Jan 11th, 2021
1,146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Nginx 1.50 KB | None | 0 0
  1. upstream channels-backend {
  2.     server localhost:9099;
  3. }
  4.     location / {
  5.         include proxy_params;
  6.         proxy_pass http://0.0.0.0:9089;
  7.         try_files $uri @proxy_to_app;
  8.     }
  9.  
  10. Supervisor localhost:9099
  11.  
  12. =================================================
  13.  
  14.  
  15. upstream channels-backend {
  16.     server localhost:8099;
  17. }
  18.  
  19.  
  20.     location / {
  21.         include proxy_params;
  22.         proxy_pass http://0.0.0.0:8089;
  23.         try_files $uri @proxy_to_app;
  24.     }
  25.  
  26.  
  27. Supervisor localhost:8099
  28.  
  29.  
  30.  
  31.  
  32. alexander@ubuntu-clear:/etc/nginx/sites-enabled$ sudo systemctl restart nginx
  33. Job for nginx.service failed because the control process exited with error code.
  34. See "systemctl status nginx.service" and "journalctl -xe" for details.
  35.  
  36. alexander@ubuntu-clear:/etc/nginx/sites-enabled$ systemctl status nginx.service
  37. ● nginx.service - A high performance web server and a reverse proxy server
  38.    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
  39.    Active: failed (Result: exit-code) since Mon 2021-01-11 12:33:47 UTC; 28s ago
  40.      Docs: man:nginx(8)
  41.   Process: 4253 ExecStop=/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile /run/nginx.pid (code=exited, status=0/SUCCESS)
  42.   Process: 32377 ExecReload=/usr/sbin/nginx -g daemon on; master_process on; -s reload (code=exited, status=0/SUCCESS)
  43.   Process: 9487 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)
  44.  Main PID: 912 (code=exited, status=0/SUCCESS)
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement