NethServer / dev

NethServer issue tracker
https://github.com/NethServer/dev/issues
62 stars 20 forks source link

Webserver: vhost gets a 404 #6925

Closed stephdl closed 4 months ago

stephdl commented 4 months ago

Steps to reproduce

Install webserver

Expected behavior

I expect either a 403 or if I enable the Root directory file listings inside the UI of the virtualhost to browse content of the virtualhost by http (see the Index of / even if there are no files)

Actual behavior

I receive a 404 because nginx does not have its web folder created by the create-vhost action

Components

webserver 1.0.16

stephdl commented 4 months ago

QA

install ghcr.io/nethserver/webserver:1.0.17-dev.1

The fix can be tested only for the first creation of a vhost, you could simply test a fresh install

stephdl commented 4 months ago

verified at https://community.nethserver.org/t/webserver-vhost-gets-a-404-need-testers/23663/2

released as ghcr.io/nethserver/webserver:1.0.17