does the custom httpd d configs also cover nginx?

dmacleo

Verified User
Joined
Jun 21, 2012
Messages
631
wasn't sure where to post this as its an nginx, apache, and directadmin gui question.

using nginx proxy to apache and I need to disable gzip for one domain as it strips etags out and messes with owncloud.
I already have an entry in custom httpd for this domain (ModPagespeed off) but will adding the gzip off location block for nginx also work here?
 
If you're disabling gzip for static files, you should do that in nginx settings.
 
but that would do it for all domains right?
I only need to do it for 1 single domain, and gzip is actually required on other domains.
I know I can edit the /user/name/nginx.conf manually and do it but I want to make sure I do it in manner that any updates won't overwrite
 
until I can find out if I can add both apache and nginx to the custom config section at same time I just added
gzip off;

in the server block for the one user in the usr/local/directadmin/data/users/USERNAME/nginx.conf file.
this disables it for the one site so that owncloud sync clients work on txt/htm(l)/conf files w/o tossing the missing etag warning.

server
{
gzip off;
 
I'm on 1.45.4 right now.
way my license is (mine is from the dedicated server host) I cannot get pre-release was hoping to save $$ and buy lifetime soon but it didn't happen LOL
so when thats implemented we can put both httpd AND nginx configs under the custom config section?
how would they be notated?
you would have to have something that denotes following info is for https and then another notation for following info nginx correct?

right now its not hard to fix if it gets overwritten, literally 5 seconds, but us having ability to edit both when running proxy would be very useful.

in this particular situation I have a domain running owncloud, so I have to turn off mod_pagespeed in httpd and gzip in nginx (which give me MANY benefits on the other domains) when running encrypted files as the e-tag gets stripped by nginx and pagespeed.
fwiw if anyone ever complains about owncloud on directadmin you can know that this may be issue, its an owncloud issue but at least the info to fix it is out there now.
 
May you please post me the output of:
Code:
/usr/local/directadmin/directadmin o
 
lol at first did it while ssh into my vps and got nothing, freaked me out :)


Compiled on 'CentOS 6.0 64-Bit'
Compile time: Jul 1 2014 at 01:50:53
Compiled with IPv6
 
Back
Top