-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
589 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
server { | ||
listen 80; | ||
|
||
#имя сервера: | ||
server_name site.test; | ||
|
||
# корневая директория | ||
root /srv/projects/site.test; | ||
include conf.d/includes/restrictions.inc; | ||
|
||
satisfy any; | ||
allow 192.168.1.0/24; | ||
deny all; | ||
auth_basic "Restricted"; | ||
auth_basic_user_file .htpasswd; | ||
|
||
###################################### | ||
# FPM config | ||
###################################### | ||
location ~ \.php$ { | ||
try_files $uri = 404; | ||
include fastcgi_params; | ||
fastcgi_pass php-81:9000; | ||
fastcgi_index index.php; | ||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | ||
fastcgi_param SERVER_NAME $host; | ||
} | ||
|
||
location / { | ||
index index.php index.html index.htm; | ||
try_files $uri $uri/ /index.php?$args; | ||
} | ||
|
||
include conf.d/includes/assets.inc; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
FROM rhamdeew/docker-php-81-fpm-alpine | ||
#RUN usermod -u 1050 www-data && groupmod -g 1050 www-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
account mailhog | ||
host mailhog | ||
port 1025 | ||
from test@test.ru |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
date.timezone = "Europe/Moscow" | ||
display_errors = On | ||
sendmail_path = "/usr/bin/msmtp -a mailhog -t" | ||
|
||
post_max_size = 20M | ||
upload_max_filesize=20M | ||
|
Oops, something went wrong.