refs #0 The root commit.
This commit is contained in:
28
nginx.test
Normal file
28
nginx.test
Normal file
@@ -0,0 +1,28 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name library.sbps.ru;
|
||||
|
||||
location / {
|
||||
rewrite ^(.*)$ http://library.sbps.ru$1 permanent;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
server_name library.sbps.ru;
|
||||
|
||||
location /lib/media/ {
|
||||
alias /home/www/projects/library_test/media/;
|
||||
access_log off;
|
||||
}
|
||||
|
||||
location / {
|
||||
access_log off;
|
||||
|
||||
include proxy_params;
|
||||
proxy_send_timeout 600;
|
||||
proxy_read_timeout 600;
|
||||
proxy_pass http://127.0.0.1:5173;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user