|
|
@@ -517,4 +517,33 @@ server {
|
|
|
}
|
|
|
|
|
|
access_log /data/log/user_proginn_access.log proginn-logid;
|
|
|
+}
|
|
|
+
|
|
|
+# bituni
|
|
|
+server {
|
|
|
+ listen 80;
|
|
|
+ server_name {{domain}}.test-bituni.proginn.com;
|
|
|
+
|
|
|
+ root /proginn-bituni/public/;
|
|
|
+ index index.php index.html index.htm;
|
|
|
+
|
|
|
+
|
|
|
+ location / {
|
|
|
+ if (!-e $request_filename) {
|
|
|
+ rewrite ^(.*)$ /index.php?s=$1 last;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ set $temp_request_id $http_x_request_id;
|
|
|
+ if ($temp_request_id = "") {
|
|
|
+ set $temp_request_id $request_id;
|
|
|
+ }
|
|
|
+
|
|
|
+ location ~ \.php$ {
|
|
|
+ fastcgi_pass unix:/var/run/php7-fpm.sock;
|
|
|
+ fastcgi_index index.php;
|
|
|
+ include fastcgi_params;
|
|
|
+ }
|
|
|
+
|
|
|
+ access_log /data/log/user_proginn_access.log proginn-logid;
|
|
|
}
|