Comments (8)
Wouldn't nginx reload make more sense? This would make sure you don't end up with a nginx that won't start because of syntax errors.
from nginx-ui.
Hello @LucaNerlich, thank you very much for your issue. You're right, of course. The feature is important and will come. The goal for the next release is to manage multiple nginx instances. Since there are environments where nginx is running on both bare-metal and docker, I am looking for a good solution to cover both. I imagine that when integrating an nginx instance into nginx ui the type of the instance is specified (baremetal/docker).
from nginx-ui.
I've been pitching this tool at my workplace and this is the main feature stopping us from using it right now.
from nginx-ui.
nginx -s reload
would be ideal, to make sure nginx falls back if the new configuration fails.
from nginx-ui.
To execute a command on non-dockerized nginx from inside a docker container is going to be tricky / hacky. Im unsure myself, on how a good solution would look like.
My approach would be an SSH connection to the server with the necessary permissions to trigger a reload from nginx. The access data would then have to be stored in the form of a user management system. This would also allow the infrastructure to ensure that everyone is only allowed to do what the admin allows. :)
Best David
from nginx-ui.
Well, ideally youd build the output of ‚nginx -t‘ into the you as well. Or add a button ‚check‘ and restart/reload afterwards.
True, good point.
from nginx-ui.
nginx -s reload
would be ideal, to make sure nginx falls back if the new configuration fails.
But for any of this to work the nginx binary will need to be mounted into the container.
from nginx-ui.
To execute a command on non-dockerized nginx from inside a docker container is going to be tricky / hacky. Im unsure myself, on how a good solution would look like.
from nginx-ui.
Related Issues (20)
- Possible arbitrary file access though Path Traversal vulnerability in some situations HOT 3
- Getting error when trying to run HOT 3
- Support openresty HOT 1
- [Suggestion] Implement nginxconfig.io HOT 2
- flask auth? HOT 4
- Getting an error on a fresh install HOT 2
- My nginx is installed with docker,when I run this app,I got a ERROR HOT 1
- Mobile support? HOT 1
- Reload nginx when domain status is set to enabled HOT 2
- Can code be merged to implement nginx operation management? HOT 2
- traefik integration with prefixpath /YOUR_PREFIX_PATH/nginx-ui
- Enhancement Request: .conf file verification button
- Generated domain conf template is invalid - missing server HOT 1
- Is there a binary release available? I need to integrate it with
- Docker security HOT 1
- Support for arm64? HOT 1
- Is this maintained?
- Support Running Behind Reverse Proxy ? http://xxx.xxx.xxx.xxx/nginx-ui ? HOT 2
- 全新安装报错 open /etc/nginx-ui/app.ini: no such file or directory
- Software design has flaws. Why do I have to provide the /etc/nginx/ directory to this program?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nginx-ui.