feat: Выполнил практическое задание по DevOps
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
pid /tmp/nginx.pid;
|
||||
user nginx;
|
||||
events {}
|
||||
|
||||
http {
|
||||
client_body_temp_path /tmp/client_temp;
|
||||
proxy_temp_path /tmp/proxy_temp;
|
||||
fastcgi_temp_path /tmp/fastcgi_temp;
|
||||
uwsgi_temp_path /tmp/uwsgi_temp;
|
||||
scgi_temp_path /tmp/scgi_temp;
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
root /usr/share/nginx/html;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8443 ssl;
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
ssl_certificate /etc/nginx/ssl/cert.pem;
|
||||
ssl_certificate_key /etc/nginx/ssl/key.pem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user