LeChris
https://habbo.codes/
Client Error
Error Log - cat /var/log/nginx/error.log
2018/10/12 00:05:59 [error] 6043#0: *1 "/hotel/groups/index.html" is forbidden (13: Permission denied), client: *redacted*, server: groups.habfort.us, request: "GET / HTTP/1.1", host: "groups.habfort.us"
User Check - ps aux|grep nginx|grep -v grep
root 6042 0.0 0.0 120808 2092 ? Ss 00:05 0:00 nginx: master process /usr/sbin/nginx
root 6043 0.0 0.0 121268 3568 ? S 00:05 0:00 nginx: worker process
CHMOD Check - stat --format '%a' /hotel/groups/index.html
777
NGINX Config - Main
NGINX Config - Groups
What's going on??
You must be registered for see images attach
Error Log - cat /var/log/nginx/error.log
2018/10/12 00:05:59 [error] 6043#0: *1 "/hotel/groups/index.html" is forbidden (13: Permission denied), client: *redacted*, server: groups.habfort.us, request: "GET / HTTP/1.1", host: "groups.habfort.us"
User Check - ps aux|grep nginx|grep -v grep
root 6042 0.0 0.0 120808 2092 ? Ss 00:05 0:00 nginx: master process /usr/sbin/nginx
root 6043 0.0 0.0 121268 3568 ? S 00:05 0:00 nginx: worker process
CHMOD Check - stat --format '%a' /hotel/groups/index.html
777
NGINX Config - Main
Code:
user root;
error_log /var/log/nginx/error.log;
# Load dynamic modules. See /usr/share/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;
events {
worker_connections 1024;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
include /etc/nginx/mime.types;
default_type application/octet-stream;
include /etc/nginx/conf.d/*;
}
NGINX Config - Groups
Code:
server {
listen 80;
server_name groups.habfort.us;
root /hotel/groups;
index index.html index.htm;
location / {
try_files $uri $uri/ /index.html;
}
}
What's going on??