Nginx.conf #430
-
| 
         I have a heavily customized Nginx in my current installation. In all versions before 2.10, I could modify nginx.conf directly. Since nginx is now integrated with Netbox container how can I migrate all the setting into version 2.10+?  | 
  
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
| 
         You can override the file  Unit doesn't have all the capabilities of nginx. So if you need additional options you will have to use nginx.  | 
  
Beta Was this translation helpful? Give feedback.
-
| 
         Hi @barmalej1. I also used a custom nginx.conf to use https://domain/netbox/ as context root for accessing the application, but I can't get that working in the new Netbox version using Unit. Did you have by chance a similar problem and know how to solve it? Static Media Failure Check the following: 
 I added "/netbox" to the routes section in the nginx-unit.json as follows, but it didn't work: 
 Any suggestions?  | 
  
Beta Was this translation helpful? Give feedback.
You can override the file
nginx-unit.jsonin/etc/unit/, but this has a different format. The documentation can be found here.Unit doesn't have all the capabilities of nginx. So if you need additional options you will have to use nginx.