Install Pinry
This commit is contained in:
20
nginx.conf
20
nginx.conf
@@ -462,6 +462,26 @@ http {
|
||||
}
|
||||
}
|
||||
|
||||
upstream pinry-handler {
|
||||
server pinry:80;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
|
||||
ssl_certificate /etc/nginx/certs/scarif.local.crt;
|
||||
ssl_certificate_key /etc/nginx/certs/scarif.local.key;
|
||||
|
||||
gzip_types text/plain text/css application/json application/x-javascript
|
||||
text/xml application/xml application/xml+rss text/javascript;
|
||||
|
||||
server_name research.scarif.local;
|
||||
|
||||
location / {
|
||||
proxy_pass http://pinry-handler;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
|
||||
Reference in New Issue
Block a user