Additional directives for Apache and Nginx
-
- Posts: 5
- Joined: Fri Oct 16, 2020 5:04 pm
- Os: Ubuntu 17x
- Web: apache + nginx
Additional directives for Apache and Nginx
Hi
I need to add some additional directives for Apache and Nginx on my website. The problem is since the directory structure is so huge, I am unable to understand where to put those directives, I've tried adding it to many locations via ssh and then restart apache/nginx, everytime it fails to reload. Then I just comment out those lines and try other locations. Do not seem to get any way around. Tried creating new conf file exclusively for these directives and included in the conf.d folder (since the master file includes all files from conf.d folder) and same with nginx, but still the servers won't start. Any suggestions pls?
I need to add some additional directives for Apache and Nginx on my website. The problem is since the directory structure is so huge, I am unable to understand where to put those directives, I've tried adding it to many locations via ssh and then restart apache/nginx, everytime it fails to reload. Then I just comment out those lines and try other locations. Do not seem to get any way around. Tried creating new conf file exclusively for these directives and included in the conf.d folder (since the master file includes all files from conf.d folder) and same with nginx, but still the servers won't start. Any suggestions pls?