Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

nginx head sever with multy wordpress servers

Hi all,Im very new to nginx and got very lost with its configuration, what i am trying to achive in a vmware enviroment is to have 2 Debian servers 1st is master 2nd is a slave/backup running of 1...

View Article


Use rewrite map twice

Hello!I'd like to rewrite requests with or without a slash on the end by a rewrite map. Here are the relevant config lines.map $in $out {/path1/ /target1/;/path2/ /target2/;...};server {...set $in...

View Article


Nginx reverse proxy + Magento+ html redirection not working

Hi Support,I installed nginx reverse proxy in my server. All are working are working well expect redirection to .html pages.MY site is magento and test.com/default is working but...

View Article

try_files instead of if to return 503 and maintenance file if that file exists

Can try_files be used instead of the if directive to unconditionally return 503 response code and maintenance.html if that file exists? It should also do that for any request to php files.Currently I'm...

View Article

rewrite defined and wildcard subdomain with different rules

Hi,Got a pretty "complex" setup with rw rules and having issues to make it all work. Spent a lot of time on this and would appreciate some help.These are the 5 rules I try to achieve. I can't combine...

View Article


catch all location

hi,this will catch /location / {index index.html index.htm;}I'd like to catch all, like /asdf, /asdfasdf/asdfasdf, in short, any url will always map into '/', how to do this? thanks,

View Article

Re: -s reload access denied?

Ok, I know most of you are using nginx on a unixi/linux platform.but is there really nobody who is using windows and has the same problems ?ho do you reload your configuration ?regardsdittsche

View Article

Re: -s reload access denied?

ok, I dont know really why, but in my case I fixed it:the service was running under the local system account.i tried to send the -s reload as a administrator user on this machine and this fails.after...

View Article


Upstream_cache_status -> Return ' - '

Hi, I have 2 version of Nginx running ; 1.2.1 and 1.4.1. Basically 1.4.1 is just newly installed and copy all configuration files over.It works perfectly fine. Just one thing I notice that the...

View Article


Locations (vhosts), ubuntu server

Hello,I have currently configured my domain as the following:http://paste.ie/view/a4e9b7e7I saved its content in a configuration file which I placed in : etc/nginx/sites-enabled...

View Article

Does nginx support compress a request to the upstream server ?

Like this? does nginx suppor it ?[Client] [Nginx Reverse Proxy] [BackEnd]| [Raw Post] | [gzip encoded request] ||---------------------------> | ------------------------------------->|| | || [Raw...

View Article

Re: Does nginx support compress a request to the upstream server ?

Er......[Client]---(raw request) ---> [nginx reverse proxy] -----(gzip encoded request) ----> [ back end]

View Article

Run secondcrack in a nginx server

I am trying to run secondcrack https://github.com/marcoarment/secondcrack that is a php solution to A static-file Markdown blogging engine in a nginx server (the original was only tested in Apache). So...

View Article


virtual assistant

Thanks for joining here,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

View Article

Disable gzip for text/html content-type

Hi, is it possible to disable gzipping for text/html content-type files? I've got no luck using nginx 0.7.67 on Debian 6.0.7 with the following options:gzip off;gzip_disable Mozilla; # my browserNginx...

View Article


Re: Disable gzip for text/html content-type

# nginx -Vnginx version: nginx/0.7.67TLS SNI support enabledconfigure arguments: --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log...

View Article

Adding first website

HiI have Ubuntu 12.04 with Nginx loaded & running. I also have a set of web pages with WebGl on them at /home/dom/Documents/lerning-WebGL. Can anyone tell me, step by step, what I have to do to...

View Article


Re: Locations (vhosts), ubuntu server

Anyone ?

View Article

Re: Adding first website

Hi,I am using the following setup:http://paste.ie/view/a4e9b7e7But I stuck add adding a second domain :/Best RegardsMarc

View Article

Mirror/Duplicate Traffic

I have to mirror/duplicate the traffic to differents server, I wonder if it is possible?I mean all the traffic to /data I want to proxy to both "server1" and "server2"Any Idea how to achieved?

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>