50 lines
743 B
Plaintext
50 lines
743 B
Plaintext
daemon off;
|
|
|
|
worker_processes 1;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
sendfile on;
|
|
keepalive_timeout 65;
|
|
|
|
gzip on;
|
|
|
|
server {
|
|
|
|
listen 80;
|
|
server_name localhost;
|
|
|
|
location / {
|
|
proxy_pass http://home_page:8080/;
|
|
}
|
|
|
|
location /login {
|
|
proxy_pass http://login_page:8080/;
|
|
}
|
|
|
|
location /logout {
|
|
proxy_pass http://logout:8080/;
|
|
}
|
|
|
|
# location /profile {
|
|
# proxy_pass http://profile_page:8080/;
|
|
# }
|
|
#
|
|
# location /register {
|
|
# proxy_pass http://register_page:8080/;
|
|
# }
|
|
#
|
|
# location /statuses {
|
|
# proxy_pass http://statuses_page:8080/;
|
|
# }
|
|
|
|
}
|
|
|
|
}
|