-
Notifications
You must be signed in to change notification settings - Fork 4
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
5 changed files
with
83 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
server { | ||
listen 89.23.23.23:2345 ssl http2; | ||
server_name qweqwe.ru; | ||
# return 301 https://www.megatron2000.ru$request_uri; | ||
} | ||
|
||
server { | ||
listen 93.23.23.23:443; | ||
server_name www.megatron2000.ru; | ||
charset utf-8; | ||
client_max_body_size 128M; | ||
ssl_certificate ssl/www.megatron2000.ru.crt; | ||
ssl_certificate_key ssl/www.megatron2000.ru.key; | ||
ssl_dhparam ssl/dhparam.pem; | ||
ssl_protocols TLSv1 TLSv1.2; | ||
set $fpm_socket unix:/var/run/php/robot-www.megatron2000.ru-7.1.sock; | ||
set $root_path /home/robot/www.megatron2000.ru/public_html/public; | ||
disable_symlinks if_not_owner from=$root_path; | ||
root $root_path; | ||
index index.php; | ||
gzip on; | ||
gzip_comp_level 5; | ||
gzip_disable "msie6"; | ||
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript; | ||
include vhosts-includes/robot/www.megatron2000.ru/*.conf; | ||
access_log /home/robot/www.megatron2000.ru/logs/access.log main; | ||
error_log /home/robot/www.megatron2000.ru/logs/error.log; | ||
} |