Welcome! Log In Create A New Profile


Help required

Zeeshan Opel
August 19, 2019 02:56AM
Dear members,

need your help regarding below nginx configuration. I have below config on
my nginx server but I am unable to rewrite the link. Please help me.
worker_processes 1;

worker_rlimit_nofile 30000;
events {
worker_connections 1024;

http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name;#This is my nginx server
rewrite ^$
permanent;#trying to rewrite to
client_max_body_size 100m;

location /{

proxy_redirect off;
proxy_buffering off;
proxy_set_header X-Real-IP $;
proxy_set_header X-Forwarded-For $;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Proto $scheme;
#proxy_pass $authenticated;
proxy_read_timeout 240;
}#end location
}#end server

}#end http

Zeeshan Qaiser Opel
nginx mailing list
Subject Author Posted

Help required

Zeeshan Opel August 19, 2019 02:56AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 80
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready