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

Reverse Proxy Forward

Hi all, I have Nginx running and being used primarily as a reverse proxy. So far all is running well for web services, but I am having a problem proxying requests from/to an internal service running...

View Article


hiding php parameters

Hello everyone. I have a website with this kind of adresses: https://www.mydomain.com/user/userprofile/[userprofile1]?r=[login]&w=[encryptedpassword] ie:...

View Article


404 on wordpress multisite with permalinks

Hi, I installed a wordpress multisite on nginx (basic configuration by webuzo) everything seem to work except when I activate permalinks. Then 404 Error appears except for homepage and backend. Someone...

View Article

How to enable login wordpress to LAN users?

Hi,I just installed wordpress with nginx/mysql/php on Gentoo/Linux OS, as localhost at home. I can edit wordpress web site only from local computer (where web server is installed). I want to enable...

View Article

Re: How to run wordpress on Gentoo/Linux?

Finally I found out how to solve this problem and here the info: Need to 'modify the file /etc/vhosts/webapp-config and replace vhost_server="apache" by vhost_server="nginx".' Then I followed...

View Article


Sitemap Subfolder

Hi, I need configure sitemap with subfolder. See my configuration example: server { listen 80; root /usr/share/nginx/html/example.com; index index.php index.html; server_name example.com...

View Article

Nginx reverse proxy with iis login page problems

I've asked this question on serverfault, where there is a +50 bounty on it currently....

View Article

Enable wildcard domains while disabling subdomains

I have a one-click WP install strictly for parking domains for sale using a highly regarded plugin/theme that will display an offer form for any domain pointing at the server provided there is a DNS...

View Article


Re: Enable wildcard domains while disabling subdomains

I think 'server_name www.example1.com example1.com www.example2.com example2.com;' is what you want.

View Article


Re: hiding php parameters

which software are you using?

View Article

Nginx + Owncloud + FastCgi = FastCGI sent in stderr: "Primary script unknown"

Edit: I tried to use bbcode here to make my post more readable, but it seems not to work... Hey, The Owncloud Guys suggested to post about my problem here, because i experience some error when working...

View Article

Lua timer and ngx.location.capture

Hello, how can I use ngx.timer.at and ngx.location.capture in same location ? I trying some code but I get error ! rewrite_by_lua ' local delay = 1 -- in seconds local dogs = ngx.shared.dogs local...

View Article

Re: Enable wildcard domains while disabling subdomains

That's going to be more than inconvenient, that is impractical. There are 300+ domain names for sale, with many removed or added every day. By having the wildcard I don't have the 300+ domains actually...

View Article


Real IP problem on my load balancer in TCP mode on my servers

Dear All, I am a System Admin from India and using nginx as load balancer since some time. I have few web servers which I am load balancing using nginx and they are working fine. I use...

View Article

Re: Reverse Proxy Forward

stream { upstream backend { server backend1.example.com:12345; } server { listen 12345; proxy_pass backend; } }

View Article


How to get access to a response header fields in a proxy_pass case

Hi, I am trying to get access to a custom response header, save it into a variable, and get rid of it so that it will not be proxied back to the client. That variable is then used in the access logs....

View Article

Re: Enable wildcard domains while disabling subdomains

Hi. Would something like this work for you? server { listen 80 default; server_name _; return 200 'default\n'; ... } server { listen 80; server_name ~^.*\..*\..*$; return 444; } Testing with curl......

View Article


.htaccess codes Conversion

Hi, I'm using NGINX 1.8.1 how can i use replacement code of : <FilesMatch "\.(mov|mp4|mp3|jpg|pdf)$"> ForceType application/octet-stream Header set Content-Disposition attachment </FilesMatch>

View Article

Progress module with 1.8.x / 1.9.11

Hello, I'm wondering if anyone is successfully running the progress module with 1.8.x or the latest 1.9.11 ? https://github.com/masterzen/nginx-upload-progress-module I would like to confirm if it is...

View Article

How to redirect to another web with same domain

Hi! It's possible to have a domain and when a user for a specific country connect to that web, nginx redirect to another web but without change the domain. for example: i have tha domain...

View Article
Browsing all 4759 articles
Browse latest View live


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