mirror of
https://git.lolcat.ca/lolcat/4get.git
synced 2024-12-24 23:56:34 -05:00
Merge pull request 'Address 'Docker: multiple issues'' (#7) from Eclair5748/4get:master into master
Reviewed-on: https://git.lolcat.ca/lolcat/4get/pulls/7 looks good
This commit is contained in:
commit
55a093925f
3 changed files with 18 additions and 4 deletions
|
@ -4,7 +4,7 @@ version: "3.7"
|
|||
services:
|
||||
fourget:
|
||||
image: luuul/4get:latest
|
||||
restart: always
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- FOURGET_VERSION=6
|
||||
- FOURGET_SERVER_NAME=4get.ca
|
||||
|
|
|
@ -16,11 +16,19 @@ ErrorLog /dev/null
|
|||
RewriteRule ^ http://%{HTTP_HOST}/%1 [R=301]
|
||||
RewriteCond %{REQUEST_FILENAME}.php -f
|
||||
RewriteRule .* $0.php
|
||||
Options Indexes FollowSymLinks
|
||||
Options FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
# deny access to private resources
|
||||
<Directory "/var/www/html/4get/data">
|
||||
Require all denied
|
||||
<Files "*">
|
||||
Require all denied
|
||||
</Files>
|
||||
</Directory>
|
||||
|
||||
LoadModule rewrite_module modules/mod_rewrite.so
|
||||
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
||||
LoadModule authn_file_module modules/mod_authn_file.so
|
||||
|
|
|
@ -21,12 +21,18 @@ ErrorLog /dev/null
|
|||
RewriteRule ^ http://%{HTTP_HOST}/%1 [R=301]
|
||||
RewriteCond %{REQUEST_FILENAME}.php -f
|
||||
RewriteRule .* $0.php
|
||||
Options Indexes FollowSymLinks
|
||||
Options FollowSymLinks
|
||||
AllowOverride None
|
||||
Require all granted
|
||||
</Directory>
|
||||
|
||||
|
||||
# deny access to private resources
|
||||
<Directory "/var/www/html/4get/data">
|
||||
Require all denied
|
||||
<Files "*">
|
||||
Require all denied
|
||||
</Files>
|
||||
</Directory>
|
||||
|
||||
LoadModule rewrite_module modules/mod_rewrite.so
|
||||
LoadModule mpm_prefork_module modules/mod_mpm_prefork.so
|
||||
|
|
Loading…
Reference in a new issue