DokuWiki

It's better when it's simple

User Tools

Site Tools


install:ubuntu:ubuntu_18.04_nginx

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
install:ubuntu:ubuntu_18.04_nginx [2024-02-07 06:40] – [Run Install Script] 23.108.96.79install:ubuntu:ubuntu_18.04_nginx [2024-05-16 16:37] (current) – [Configure Nginx] fix insecure example nginx config Alexander01998
Line 43: Line 43:
     root /var/www/dokuwiki;     root /var/www/dokuwiki;
     index index.php index.html index.html;     index index.php index.html index.html;
 + 
 +    location ~ /(data|conf|bin|inc|vendor)/ {
 +      deny all;
 +    }
    
     location / {      location / { 
install/ubuntu/ubuntu_18.04_nginx.txt · Last modified: 2024-05-16 16:37 by Alexander01998

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki