zeropingheroes / lancache

Automatically cache game files and updates at LAN parties using Nginx as a reverse proxy.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while restarting nginx

stevehan12138 opened this issue · comments

When I was on the last step trying to restart Nginx, it did not work.
`● 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 Thu 2020-01-02 19:34:54 GMT; 11s ago
Docs: man:nginx(8)
Process: 20265 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)

Jan 02 19:34:54 raspberrypi systemd[1]: Starting A high performance web server and a reverse proxy server...
Jan 02 19:34:54 raspberrypi nginx[20265]: nginx: [emerg] open() "/etc/nginx/upstreams/origin-domains.conf" failed (2: No such file or directory) in /etc/nginx/upstreams/origin.conf:4 Jan 02 19:34:54 raspberrypi nginx[20265]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jan 02 19:34:54 raspberrypi systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
Jan 02 19:34:54 raspberrypi systemd[1]: nginx.service: Failed with result 'exit-code'.
Jan 02 19:34:54 raspberrypi systemd[1]: Failed to start A high performance web server and a reverse proxy server.`