Hello all,
I am using OMV 5 and would like to use a Laravel project additionally on the system.
I had tried the way via Docker, only when I like to install the containers, it gives me problems with the ARM processor. I used a Raspberry Pi 4
So I installed MySQL, Composer and NodeJS on the system directly.
I also get my Laravel project running, ONLY I don't get the website displayed.
I would like to have this running on port 88, although it doesn't have to be this port.
In /etc/nginx/sites-available I have created a file in which I show this behavior.
Only nothing happens. The only thing I managed to get is that the PHP page was downloaded.
Do you have a solution for me?
Thanks
Code
server {
listen 88;
listen [::]:88;
root /var/www/MPA_DB_VUE/public;
index index.php index.html index.htm;
server_name localhost;
location / {
try_files $uri $uri/ =404 /index.php?$query_string;
}
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/run/php/php7.3-fpm.sock;
fastcgi_index index.php;
fastcgi_read_timeout 60s;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
Alles anzeigen