Files
glade_docker/nginx/glade.conf
T

45 lines
859 B
Plaintext
Executable File

server {
listen *:80;
# listen 91.109.206.118:443 ssl;
client_max_body_size 512m;
keepalive_timeout 70;
large_client_header_buffers 8 16k;
access_log /var/log/glade.access.log main;
error_log /var/log/glade.error.log;
server_name glade.1sim.online;
set $root /var/www;
location = /favicon.ico {
root $root;
try_files $uri $uri/ =404;
}
location ~ \.php$ {
#include closed.conf;
root $root;
try_files $uri $uri/ =404;
fastcgi_pass app:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $root$fastcgi_script_name;
include fastcgi_params;
}
location / {
root $root;
index index.html index.htm index.php index.shtml;
}
location ~ /\.ht {
deny all;
}
}
server {
listen *:80;
server_name glade.acm.petrsu.ru glade.1sim.ru;
return 301 $scheme://glade.1sim.online$request_uri;
}