• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Linux Nginx on ubuntu 502 bad gateway

Joriku

Working in the mines, need something?
Joined
Jul 16, 2016
Messages
1,175
Solutions
17
Reaction score
481
Location
Sweden
any ideas?
following: Installing phpMyAdmin for Nginx on Ubuntu 18.04 | DevAnswers.co (https://devanswers.co/installing-phpmyadmin-nginx-ubuntu-18-04/)

on: Installing Nginx, MySQL, PHP (LEMP) Stack on Ubuntu 18.04 | DevAnswers.co (https://devanswers.co/installing-nginx-mysql-php-lemp-stack-ubuntu-18-04/)
8: Test PHP
I get the same, Bad Gateway.

I gave permissions
LUA:
chown -R www-data:www-data /var/www
&
LUA:
chmod -R 755 /var/www/html
ec85614bc1e4db52817fd7a5740e3f99.png
 
I really dont like nginx /don't know why/ buy I'm currently using caddy, its easy to use and really good (https included)
Thank you for your awnser, I reinstalled the system and installed Apache instead.
Therd Closed.
 
Back
Top