frich14
frich14
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
All good, yes
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
Thank you so muchhh!!!!!!
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
Thanks!
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
Or with the empty roules, same thing
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
Exactly
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
Sorry, 503
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
The app doesn't crash, it is still active
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
None
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
Root doesn't work when I have the nginx.conf
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
I've tried modifying that but the application fails to respond every time, and only works again if I delete the nginx.conf
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
I tried with and same output. It gives me an error if I don't put events or if it has any syntax error
events {
worker_connections 1024;
}

http {

server {
index index.php;
}
}
events {
worker_connections 1024;
}

http {

server {
index index.php;
}
}
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
worker_processes 5;
daemon off;

events {
worker_connections 4096; # Default: 1024
}

http {
index index.html index.htm index.php;
default_type application/octet-stream;
server_names_hash_bucket_size 128; # this seems to be required for some vhosts

server {
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";

index index.php;

charset utf-8;

}
}
worker_processes 5;
daemon off;

events {
worker_connections 4096; # Default: 1024
}

http {
index index.html index.htm index.php;
default_type application/octet-stream;
server_names_hash_bucket_size 128; # this seems to be required for some vhosts

server {
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";

index index.php;

charset utf-8;

}
}
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
When I add a nginx.conf, even if it doesn't have any configurations, I get an "Application failed to respond" but doesn't crash or gives any log.
32 replies
RRailway
Created by frich14 on 5/30/2023 in #✋|help
Can't get any route using php and slim framework
32 replies