nginx+apache custom conf location ?

خرید بک لینک

Yesterday, 05:49 AM #1

thanks in advance

Im having problems with saving a version of

Code:

/etc/nginx/webapps.conf
/etc/nginx/webapps.hostname.conf
/etc/nginx/webapps.ssl.conf
I have copied these to

Code:

/usr/local/directadmin/custombuild/custom/nginx/conf/
/usr/local/directadmin/custombuild/custom/nginx_reverse/conf/
when i do a ./build rewrite_confs it overwrites my changes.
where should i change these ?
The changes are for webDAV support.

the changes for apache work fine.


Yesterday, 11:45 PM #2

Hello,

It's working on my end:

I copied:

/etc/nginx/webapps.conf to /usr/local/directadmin/custombuild/custom/nginx_reverse/conf/webapps.conf

executed:

/usr/local/directadmin/custombuild/build rewrite_confs

and I see my custom config in /etc/nginx/webapps.conf with

Code:

if ($request_method !~ ^(GET|HEAD|POST|PROPFIND|OPTIONS|PUT|DELETE|MKCOL|COPY|MOVE|REPORT)$ ) {

Please note you can find

Code:

http_methods=GET:HEAD:POST
in /usr/local/directadmin/custombuild/options.conf

So feel free to change it to:

Code:

http_methods=GET:HEAD:POST:PROPFIND:OPTIONS:PUT:DELETE:MKCOL:COPY:MOVE:REPORT
and rewrite configs

Code:

/usr/local/directadmin/custombuild/build rewrite_confs
in order to get all those methods allowed.
With regards, Alex.

Professional Server Management for web hosting companies and individuals
Hourly Support, Disaster Recovery, Server Hardening, Monthly Subscription
Directadmin installation and optimization

Click here if you need a Linux Admin


DirectAdmin Forums...

ما را در سایت DirectAdmin Forums دنبال می‌کنید

برچسب: نویسنده: ایمان اصلاحی بازدید: 343 تاريخ: پنجشنبه 16 آذر 1396 ساعت: 3:57

صفحه بندی