How to fix Nginx error

How do I fix an Nginx error on an eaglercraft server? It says,
ensuring old server process is truly closed…
nginx: [alert] could not open error log file: open() “/tmp/nginx/error.log” failed (2: No such file or directory)
2022/12/13 13:02:29 [notice] 19#19: signal process started
2022/12/13 13:02:29 [error] 19#19: open() “/tmp/nginx/nginx.pid” failed (2: No such file or directory)
checking if file still works…