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

CentOS 7.3.x + NGINX Build from Source using PageSpeed & Roboo (Configure...

CentOS 7.3.x + NGINX Build from Source using PageSpeed & Roboo (Configure error on Roboo) /etc/nginx /etc/nginx/nginx-1.11.10 /etc/nginx/modules/ ngx_pagespeed Roboo-master (pulled from GitHub)...

View Article


Subdomain and ssl how to have two different settings.

Got the main domain setup to enforce ssl with the following conf file server { listen 80; listen [::]:80 default_server; proxy_cache_valid 301 1m; server_name kenyabuzz.com www.kenyabuzz.com; return...

View Article


How to achieve my below requirement

Hi Guys, I have this requirement and let me know if that can be acheived using nginx reverse proxy? I have this site https://community.blueliv.com/map/ Which actually show the live thrat map, can I use...

View Article

Deny User Agents

I am new to ngnix, new as in I have never heard of it until 2 weeks ago. I am trying to deny certain user agents access. I have following code in the sites-available/default file. set...

View Article

Re: Deny User Agents

http://www.queryadmin.com/1214/block-user-agents-referrers-nginx-map/

View Article


Re: Deny User Agents

Thanks for the link.

View Article

Post an event to the event queue from another thread

I am writing a native module. Is it possible to post events to the event queue in a thread safe way? It looks like the ngx_post_event function is not thread safe. ngx_add_timer seems also not to be...

View Article

Location Problem

Hi all, I'm wondering what I'm doing wrong, hope someone will help me. In a Wordpress configuration, I tried to allow access to admin page from the inside, denying it from outside my lan. It works...

View Article


limit_except per ad group?

Hello, I want to limit access to a server via nginx. Therefore I want to have 2 AD groups: one with user allowed to read (use GET) and one with people to write (POST and PUT ) What I already found is...

View Article


CORS with location rewrite

Hi guys, please help me to realize why nginx 1.8 returns 404 to subdomain page proxy_pass'ed to localhost:8088 when I try to enable CORS. ... # main site conf # commenting the following block makes...

View Article

Rewrite Help

Hi. I'm configuring nginx as reverse proxy. I need to change (rewrite?) the URLs, example: if the request (to nginx Reverse Proxy) is "http://domain.com/test/?username=test1;password=passwdtest1" it...

View Article

Get Country Code according to first IP (Maxming)

I am using maxmind module in nginx to get country code of visiters IP. Below are my some configuration part of nginx.config file, geoip_country /etc/nginx/geo_ip/GeoIP.dat; location ~ \.php$ { root...

View Article

Scalability question

A thread-based http server is limited by the number of threads it supports (either with a static maximum or with the possibility of dynamic increments of thread count), particularly when each request...

View Article


avoid sensitive GET request parameter's data in the access logs

I require access logs enabled, but for compliance reasons, cannot log a sensitive GET request parameter's data in the access logs. While I know, I could parse the logs (after-the-fact) and sanitize...

View Article

Re: avoid sensitive GET request parameter's data in the access logs

https://www.bjornjohansen.no/exclude-requests-from-nginx-access-log

View Article


Re: Subdomain and ssl how to have two different settings.

don't use $host in redirect statement. just explicitly redirect to https://kenyabuzz.com$request_uri;

View Article

Re: avoid sensitive GET request parameter's data in the access logs

Thanks for the reply. But i dont want to exclude these entries in log but wanted to mask the values of these credential parameters from the request.

View Article


Basic nginx configuration problem

Hi! I'm new to whole nginx thing and trying to figure out how to get this thing work. Here's the what: - 1 DNS - 2 nginx servers - 1 app server and why: Nginx is supposed to be used to load balance...

View Article

Nginx reverse proxy with gitlab docker container backend

Want to access my gitlab instance (docker container) running on internal server: http://192.168.1.8:30000, through nginx reverse proxy via external url https://mydomain/git/ GitLab instance works fine...

View Article

Re: Basic nginx configuration problem

Hi,is that an http upstream,yes? How do you usually call your application?(uri,parameters,or ip?)

View Article
Browsing all 4759 articles
Browse latest View live


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