caprover icon indicating copy to clipboard operation
caprover copied to clipboard

nginx -t before applying changes to nginx.conf

Open teyc opened this issue 5 years ago • 2 comments

Is your feature request related to a problem? Please describe. I really like caprover! Getting nginx configuration right is somewhat of a black art for inexperienced people like me, and wedging the caprover UI is not the same level of user friendliness that caprover is known for.

Describe the solution you'd like Ideally before applying the changes, I'd like caprover to nginx -t and see if there are any potential problems with the configuration.

teyc avatar Apr 25 '20 11:04 teyc

definitely a good one!

Alfagun74 avatar Apr 14 '21 22:04 Alfagun74

I had a custom nginx config referencing a srv-captain--api URL which broke after renaming the app. So ideally it also runs nginx -t before changing the name of an app.

thgh avatar Aug 12 '22 13:08 thgh