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

Port Forwarding

Hello All,On my linux box, I only have ports 80 and 22 open to the public.I have nginx listening on port 80.Is there a way that I can forward public requests made to different ports using nginx.For...

View Article


http and https on same server

HiI am running nginx as proxy and both of http and https requests are going from same server.While opening web site request goes to http by default. how can i change it to https ?Regards

View Article


Re: http and https on same server

server {listen 80;server_name www.domain.nl;return 301 https://www.domain.nl$request_uri;}server {listen 443;server_name www.domain.nl;[...]}

View Article

Re: http and https on same server

My config isserver{listen 80;server_name MyTest;index index.htm;location /{proxy_pass http://x.x.x.x;...}server{listen 443 default ssl;ssl on;server_name test.in;ssl_protocols TLSv1 TLSv1.1...

View Article

Re: http and https on same server

What do you want to happen?

View Article


Re: http and https on same server

Himy nginx server is serving for two websites, 1 is http and 2nd is https. While accessing through nginx it goes to http by default, for https i have to put https. i want to access https by default by...

View Article

Re: http and https on same server

Some reading...

View Article

Force re-cache after file has been modified

Under nginx obviously.Let's say I have a npcdata.txt file that is getting ajax requested every time a new game is created on my online game. It's nice to cache that file using nginx, but if I make...

View Article


Re: Force re-cache after file has been modified

Use curl to find out exactly what the timestamp is before/after caching, it might be as simple as chrome not doing something it should.

View Article


Re: Force re-cache after file has been modified

itpp2012 Wrote:-------------------------------------------------------> Use curl to find out exactly what the timestamp is before/after> caching, it might be as simple as chrome not doing...

View Article

How to update nginx on centos?

Hi Guys , I'm using nginx 1.7.3 on my centos 6.6 linux server . How can I upgrade my nginx to latest version ? Please help me with all the command because I'm not a professional . Thanks

View Article

How to update nginx on centos? ( help needed)

Hi Guys , I'm using nginx 1.7.3 on my centos 6.6 linux server . How can I upgrade my nginx to latest version ? Please help me with all the command because I'm not a professional . Thanks

View Article

Simple question regarding rewrite rule

I am a total beginner (so please excuse this likely simple question). I want to use Nginx as a reverse proxy to access another service (Shellinabox). For this I have the following...

View Article


All paths expcept root/home path

Hi! I couldn figure this out until now :(I want lol.gijoe.com to go to the root and every other paths like lol.gijoe.com/pathx or lol.gijoe.com/pathy/pathytz to go to somewhere else.I found only...

View Article

Nginx and Fcgiwrap without buffering

Hi all,I'm currently stuck on a small problem with my cgi. I want to disable buffering but it doesn't seems to work !Here is my current test conf (I tested some stuff before posting here) :server...

View Article


simple Nginx config not working

hello,i am a developer with absolutely no server experience, this project im working on is my first foray into the world of servers. Basically i have to host an API online, on a Linode server running...

View Article

Re: simple Nginx config not working

selinux? firewall/iptables blocking ports? are your server blocks listen values actually listening on their ports? (netstat -an)

View Article


Re: simple Nginx config not working

thanks, netstat tells me that nginx is listening on the ports i want,and i used this command to try open the port i wantiptables -A INPUT -p tcp --dport 8007 -j ACCEPTand it ran fine, then listing the...

View Article

Re: simple Nginx config not working

It looks like it yes, so what happens now with accessing on port 8007 ?Also check nginx logfiles to see if it receives any requests.

View Article

Re: simple Nginx config not working

thanks,checking var/log/error.log, i see whats in the attached image.i get nothing in the access logs, i've also tried setting up the error/access logs using the directives in the server blocks,...

View Article
Browsing all 4759 articles
Browse latest View live


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