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

Re: nginx service wouldn't start

The issue is seems to be solved for me. I was able to start the server any way by issuing: `sudo systemctl start nginx.service` after creating manually '/run/nginx.pid' I'm able to reload the server...

View Article


reverso proxy to different root

Hi im running nginx/1.6.2 on raspberry pi i user nginx for owncloud the root in owncloud file is /var/www currently i try now to configure trasmission torrent web as a roverse proxy server { listen 80;...

View Article


Re: problems with upstream

Working config part: location / { proxy_pass http://sites; proxy_redirect http://192.168.1.135:8080 http://192.168.1.135; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;...

View Article

NGiNX as file upload server

Hello I want use NGiNX server for uploading files and I don't want use any of third-party modules or PHP/Backend servers. Simple upload. Possible use: curl -i -F name=test -F filedata=@localfile.jpg...

View Article

CentOS and Nginx

Hi, I've been learning Linux OS in the past few weeks and my first project was to install Apache Tomcat for it to act as a web server. I was successful in installing it (thanks for the CentOS forum's...

View Article


Is my Nginx configuration ideal for production? Also looking for improvements

I just found Nginx and I am currently looking for some feedback & Improvements on my configuration. The server is runing Windows server 2008 r2 with a Core 2 duo e8500 (2 cores) and ~4 GB ram...

View Article

How to reduce CPU usage when using lua http resty from NGINX?

I am using NGINX 1.9.13 with lua-resty-http. The CPU load is too hight when making HTTP requests via the lua http resty module (https://github.com/liseen/lua-resty-http) : PID USER PR NI VIRT RES SHR S...

View Article

Can I hide time and date and size in Nginx webserver directory listings?

Hi Guys , By default Nginx webserver shows the date , time and the size of all uploaded files when you browse each directory . It's something like " 21-Apr-2016 07:38 719858135 " . Is there a way to...

View Article


Re: Is my Nginx configuration ideal for production? Also looking for...

Have a look here http://nginx-win.ecsds.eu/ for many examples, ideas and tuning.

View Article


Change default SSL port from 443 to other port?

Hi, I'm quite new to Nginx, and up to now I'm using it as a reverse proxy for my home server. I read a lot and although I don't understand (yet) every option I use, I managed to put together a working...

View Article

NGINX 1.8.1 and OpenSSL compatibility

Hello, I am running nginx 1.6.2 with openssl1.0.0r + LunaCA3 and it works properly. When I tried to compile nginx 1.8.1 with openssl 1.0.1p I had latency problems in my CloudHSM and had to revert. when...

View Article

Re: Can I hide time and date and size in Nginx webserver directory listings?

No one knows ?

View Article

Re: Can I hide time and date and size in Nginx webserver directory listings?

Generate lists with PHP and show whatever you want or not.

View Article


Re: Can I hide time and date and size in Nginx webserver directory listings?

Can't we do that without PHP and just by nginx itself?

View Article

Re: Can I hide time and date and size in Nginx webserver directory listings?

Nope but you can use/hack this module https://github.com/aperezdc/ngx-fancyindex

View Article


Error 400 The plain HTTP request was sent to HTTPS port

Hi. I am quite new to nginx. My sites run under SSL and have always redirected from http to https without a problem. However, all of a sudden, I get an error "Error: 400 The plain HTTP request was sent...

View Article

Re: Error 400 The plain HTTP request was sent to HTTPS port

Check your config with a backup to see if anything has changed. Use Curl to make sure its not a browser issue.

View Article


Re: Reverse Proxy to IIS with Basic & Windows Authentication

I know this is not an HAproxy forum however this is just incase somone else has the same issue. To solve this problem you need to use "mode tcp" using HAProxy. IIS is expecting the exact TCP traffic...

View Article

nginx proxy websocket

I need help in setting nginx proxy to a websocket server. Connect: var socket = new WebSocket("ws://site.com:9078"); In this case everything works good. Making proxy, nginx.conf: map $http_upgrade...

View Article

Re: nginx proxy websocket

Any suggestions?

View Article
Browsing all 4759 articles
Browse latest View live