-
Notifications
You must be signed in to change notification settings - Fork 345
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
[BUG] The http.conf file is not written after modifying the service configuration in the Web UI. #639
Comments
Hi @weizhuangzhi, I couldn't manage to reproduce your error. Is it possible that you give us more information about the steps to reproduce your error ? |
Could it be related to url accessibility in Global_config's DNSBL list? Sometimes these URLs cannot be accessed in an intranet environment, and Plugins sometimes displays: PLUGINS ERRORS 1 Can it be reproduced if the URL in the DNSBL list is set to a non-existent URL? |
Hi @weizhuangzhi, we'll shortly push a new |
Okay, I'll test it as soon as it's released. |
Hi @weizhuangzhi the |
I updated the file using the dev branch. This problem could always be reproduced before, but now it occurs occasionally. The other test environments have not changed. Edit the service (modify or not modify the configuration items) and save it. About 5-10 times, the I use In addition, after modifying the service, I encountered "err_connection_refused" errors 2 to 3 times, and the web ui site was also inaccessible. No abnormalities were found using "systemctl status bunkerweb" and "systemctl status bunkerweb-ui". I think the generated nginx configuration may be problems, use "nginx -t":
No configuration error was found, so
It was found that the nginx.pid file was empty and had no pid number. However, this problem is more difficult to reproduce. It may not be a problem with bunkerweb but a problem with my environment. This is for reference only. |
Interesting, i'll try this again when I have the time |
Hi @weizhuangzhi a few fixes and optimisation have been done since yesterday. If you have the time, you can test the latests changes with the |
@TheophileDiot Thank you, this problem no longer exists in the dev branch. |
What happened?
Add a service mysite.net in the Web UI and set up a reverse proxy and save it. Mysite.net can be accessed.
Modify the configuration, set Activate DNSBL to false and save, mysite.net cannot be accessed.
Re-modify the configuration, set Activate DNSBL to true and save, so mysite.net can be accessed.
I'm not sure if this is unique to the Activate DNSBL setting, but modifying the Activate DNSBL option reproduced the issue for me.
How to reproduce?
I compared the files in the /etc/nginx directory before and after the settings, and found that when the /etc/nginx/http.conf file was inaccessible, the content of the /etc/nginx/http.conf file was missing at the end
include /etc/nginx/mysite.net/server.conf;
Configuration file(s) (yaml or .env)
Relevant log output
BunkerWeb version
1.5.2
What integration are you using?
Linux
Linux distribution (if applicable)
Fedora 38 (updated to the latest)
Removed private data
Code of Conduct
The text was updated successfully, but these errors were encountered: