Skip to content

Commit d26b3e5

Browse files
committed
remove pl comments
1 parent d573565 commit d26b3e5

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docker-compose.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
networks:
66
- webnet
77
deploy:
8-
replicas: 3 # Uruchom 3 instancje
8+
replicas: 3
99
restart: always
1010

1111
nginx:

nginx.conf

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ events {
55

66
http {
77
upstream php-app {
8-
server web:80; # Nazwa usługi aplikacji PHP w docker-compose.yml
8+
server web:80;
99
}
1010

1111
server {
12-
listen 80; # Nginx nasłuchuje na porcie 80
12+
listen 80;
1313

1414
location / {
15-
proxy_pass http://php-app; # Przekazywanie ruchu do grupy serwerów
16-
proxy_set_header Host $host; # Ustawienie nagłówków
15+
proxy_pass http://php-app;
16+
proxy_set_header Host $host;
1717
proxy_set_header X-Real-IP $remote_addr;
1818
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
1919
proxy_set_header X-Forwarded-Proto $scheme;

0 commit comments

Comments
 (0)