sample nginx.conf file available? in Technical Support Posted January 5, 2023 I see the nginx file in the _INSTALL folder, but it doesn't look like it's in the same format as my existing nginx.conf files. Do you have a sample file that I can use that looks like this? Is mine old? Is yours? Mine look like this: server { server_name <my.url.com>; root /usr/share/nginx/html/<my.url.com>; index index.php index.html index.htm; client_max_body_size 200M; location / { try_files $uri $uri/ /index.php?$args; #try_files $uri $uri/ =404; } a quick adaptation of yours returns the following nginx -t nginx: [emerg] "location" directive is not allowed here in /etc/nginx/conf.d/some-conf-file.conf:42 nginx: configuration file /etc/nginx/nginx.conf test failed
sample nginx.conf file available?
in Technical Support
Posted
I see the nginx file in the _INSTALL folder, but it doesn't look like it's in the same format as my existing nginx.conf files.
Do you have a sample file that I can use that looks like this? Is mine old? Is yours?
Mine look like this:
a quick adaptation of yours returns the following
nginx -t nginx: [emerg] "location" directive is not allowed here in /etc/nginx/conf.d/some-conf-file.conf:42 nginx: configuration file /etc/nginx/nginx.conf test failed