rearrange services
This commit is contained in:
40
services/nginx/default.conf
Normal file
40
services/nginx/default.conf
Normal file
@@ -0,0 +1,40 @@
|
||||
server {
|
||||
listen 80;
|
||||
listen [::]:80;
|
||||
server_name localhost;
|
||||
|
||||
#charset koi8-r;
|
||||
#access_log /var/log/nginx/host.access.log main;
|
||||
|
||||
location / {
|
||||
# root /usr/share/nginx/html;
|
||||
# index index.html index.htm;
|
||||
proxy_ssl_server_name on;
|
||||
proxy_ssl_verify off;
|
||||
|
||||
proxy_pass http://fetsitedev:5001;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
|
||||
}
|
||||
location /etherpad {
|
||||
rewrite /etherpad/(.*) /$1 break;
|
||||
rewrite ^/etherpad$ /etherpad/ permanent;
|
||||
proxy_pass http://etherpad:9001;
|
||||
proxy_redirect / /etherpad/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_buffering off;
|
||||
}
|
||||
|
||||
#error_page 404 /404.html;
|
||||
|
||||
# redirect server error pages to the static page /50x.html
|
||||
#
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
3
services/solr_server/create_solr_core
Executable file
3
services/solr_server/create_solr_core
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
solr-precreate core /opt/solr/server/solr/configsets/fetconfig
|
||||
solr-precreate coreprotocol /opt/solr/server/solr/configsets/fetconfig
|
||||
Reference in New Issue
Block a user