简体   繁体   中英

Apache nginx 404 Not Found

When I access via browser domain.com:8080 the site opens. But, when I access domain.com/something , it shows the following message:

Not Found
The requested URL was not found on this server.

Apache/2.4.18 (Ubuntu) Server at xxx.xxx.xxx.xxx Port 8080

My nginx is:

server {
  listen 80;

  location /something{
      proxy_pass http://xxx.xxx.xxx.xxx:8080;
  }
}

How Can I solve that?

It seems you installed both Apache and Nginx web servers. You should installed and enabled one of them Apache or Nginx. In your senario it showing that the Apache server is performing on 8080 port not Nginx.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM