SupermanInNY
Verified User
- Joined
- Sep 28, 2004
- Messages
- 419
Hello all,
I need to make modification to /usr/local/directadmin/data/users/userofda1/nginx.conf
Manually, I modified it, it works fine and it does exactly what I need.
However, the changes are overwritten by DA and I lose my changes.
How do I keep the modifications?
Here you can see the DIFF between original DA's nginx.conf and my modified nginx.conf
I understand I can push these changes to the Custom HTTPD Configurations, but I'm not clear on the various sections or/and how to overwrite the changes correctly.
-----------------------------------------------------------
I need to make modification to /usr/local/directadmin/data/users/userofda1/nginx.conf
Manually, I modified it, it works fine and it does exactly what I need.
However, the changes are overwritten by DA and I lose my changes.
How do I keep the modifications?
Here you can see the DIFF between original DA's nginx.conf and my modified nginx.conf
I understand I can push these changes to the Custom HTTPD Configurations, but I'm not clear on the various sections or/and how to overwrite the changes correctly.
-----------------------------------------------------------
# diff nginx.conf.original nginx.conf.modified < proxy_pass http://11.22.33.44:8080; --- > proxy_pass https://127.0.0.1:3002; 45c45 < listen 11.22.33.44:443 ssl; --- > listen 11.22.33.44:443 ssl http2; 50c50 < root /home/userda1/domains/subdomain1.maindomain.com/private_html; --- > root /home/userda1/domains/subdomain1.maindomain.com/public_html; 58c58 < proxy_pass https://11.22.33.44:8081; --- > proxy_pass https://127.0.0.1:3002; I appreciate any input on a step by step on how to apply this. |