joglomedia / LEMPer

LEMPer Stack is terminal-based LEMP / LNMP ( Linux, Nginx, MariaDB, PostgreSQL, MongoDB, Redis, Memcache, PHP, Secure FTP ) installer and virtual host manager for Debian & Ubuntu cloud or virtual server (vps) and on-premise (bare metal).

Home Page:https://lemper.cloud/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default host created with index.html not found

benfavre opened this issue · comments

The default file for new vhosts has a .html extension but the nginx config does not load index.html file as index.
renaming index.html to index.php works obviously

@benfavre

i couldn't reproduce the issue,
did you create the vhost from command line?

My ticket description is incorrect.
The command I used:

 lemper-cli create -d somedomain.com -f mautic

@benfavre the current Mautic default rewrite rule will looking for index.php file, so if there is no index.php the rewite will falling back to 404

what happen if you upload the mautic files ?

Mautic works fine.
I expected to not have a 404 by default

Mautic works fine.
I expected to not have a 404 by default

sorry for late in reply... I have updated the configuration, it should work as expected now.