Post is pinned.
NOTE

posting spam will result in deletion of the posts and banning from this community

location /devel/ {
proxy_pass http://11.22.33.44:8080/;
proxy_redirect off;
}

Why my proxy don't work? CloudFlare return 502 Error...

Can anyone help me with this?

I try to use nginx as reverse proxy to point to mysite.com.

Help with docker with 2 container
I - Reverse proxy: Nginx listening on port 80.
I - - Webserver: App container listening on port 8529.

Unfortunately, url only works on mysite.com:8529 instead of mysite.com.

How hide the port? Is a problem with the proxy setup or the web server configuration?

About proxy setup
* nginx/nginx.conf

http {
[...]
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}

* sites-available/mysite.com

server {
listen 80;
listen [::]:80;
server_name mysite.com;
location / {
proxy_pass http://localhost:8529/;
}
}

About web server
* nginx/nginx.conf

http {
[...]
server {
listen 80;
listen [::]:80;
server_name mysite.com;
root /usr/share/nginx/html;
[...]
}
}

Any help will be appreciate.

Post has attachment

hi,
I cannot access the resources of my app, here is my config:

server {
server_name static.website.com;
location /static/ {
internal;
root /root/websys/myapp/static/;
}

nginx 1.1.19 ubunutu 12.04 server

i got 404 when access static.website.com/static/home/images/logo.png
i am sure that is the path of my resource.
any idea? thanks.

Post has shared content

Hi there...

May I ask for assistance on Where and How to redirect

http://domain.com, http://www.domain.com, https://domain.com

TO

https://www.domain.com

?
Thank you in advance. Respectfully.

Post has attachment

Post has attachment
Introducing NGINX 1.10 and 1.11

Today we’re pleased to announce NGINX 1.10 and 1.11. These version numbers define our stable and mainline branches – the open source releases that we will focus on developing and improving for the next 12 months.

https://www.nginx.com/blog/nginx-1-10-1-11-released/

#nginx   #php   #apache   #mysql  
Hi I want to use  NGINX instead of  APACHE and also installed in my Ubuntu 14.04. But I cannot create database like as we create in APACHE "localhost/phpmyadmin" although  I installed MYSQL and PHP . So what can I do to solve this problem ?
Wait while more posts are being loaded