Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx: Ingore generated files #98

Merged
merged 1 commit into from Sep 25, 2023

Conversation

razvand
Copy link
Contributor

@razvand razvand commented Sep 25, 2023

Ignore Nginx files generated at runtime: log files, PID files etc.

@razvand razvand added the enhancement New feature or request label Sep 25, 2023
Copy link
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/var/lib/nginx/ and /var/log/nginx/error.log are needed:

nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
2023/09/25 18:09:54 [emerg] 1#1: mkdir() "/var/lib/nginx/body" failed (2: No such file or directory)

Ignore Nginx files generated at runtime: log files, PID files etc.

Signed-off-by: Razvan Deaconescu <razvand@unikraft.io>
@razvand
Copy link
Contributor Author

razvand commented Sep 25, 2023

/var/lib/nginx/ and /var/log/nginx/error.log are needed:

nginx: [alert] could not open error log file: open() "/var/log/nginx/error.log" failed (2: No such file or directory)
2023/09/25 18:09:54 [emerg] 1#1: mkdir() "/var/lib/nginx/body" failed (2: No such file or directory)

@StefanJum , I fixed it.

Copy link
Member

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-by: Stefan Jumarea stefanjumarea02@gmail.com
Approved-by: Stefan Jumarea stefanjumarea02@gmail.com

@StefanJum StefanJum merged commit 1ae82c4 into unikraft:master Sep 25, 2023
@StefanJum StefanJum deleted the razvand/update-nginx branch September 25, 2023 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants