UnKwicks Posted September 11, 2020 Share Posted September 11, 2020 Hi for my Monitoring with zabbix I want to call the stub_status of nginx. I saw that the stub_status module is already installed but no location is set. Therefore I have to add this location to the nginx config. #nginx_status location /nginx_status { stub_status; allow 10.0.0.111; deny all; } Does anyone know a way how to do this safely and persists after reboot? Thanks for any idea Quote Link to comment
Squid Posted September 11, 2020 Share Posted September 11, 2020 You would make the appropriate changes via a script in the /config/go file on the flash drive Quote Link to comment
UnKwicks Posted September 11, 2020 Author Share Posted September 11, 2020 26 minutes ago, Squid said: You would make the appropriate changes via a script in the /config/go file on the flash drive thanks for your reply. I am aware of the go file. My question is more how to safely do it. I tried manually to add the location part to the emhttp-server.conf of nginx but my customization does not even survive a nginx reload. So I need to solve this problem first, how to add this part to the server block of the nginx conf. Next step would then be to keep the change to persist on unraid reboot via go file. Quote Link to comment
UnKwicks Posted September 15, 2020 Author Share Posted September 15, 2020 no idea anyone? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.