Skip to content

Commit 4007869

Browse files
Matthias AltTobias Lückel
authored andcommitted
added nginx-configurations for different php-shopware-version-combinations
1 parent 497b0d6 commit 4007869

File tree

2 files changed

+103
-3
lines changed

2 files changed

+103
-3
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Handle plugin
4444

4545
For all following commands you must pass a php version, e.g. 71 for PHP 7.1 container:
4646

47+
4748
For adding the plugin run:
4849

4950
vendor/bin/sdPlugin.sh 71 add

nginx/conf.d/default.conf

Lines changed: 102 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,72 @@
11
server {
22
server_name localhost;
3-
listen 10872;
3+
listen 52872;
4+
5+
#access_log /var/logs/nginx_access.log;
6+
root /var/www/shopware52_php72;
7+
set $fastcgi_pass shopware52_php72:9000;
8+
9+
include /etc/nginx/include.shopware.conf;
10+
}
11+
12+
server {
13+
server_name localhost;
14+
listen 52871;
15+
16+
#access_log /var/logs/nginx_access.log;
17+
root /var/www/shopware52_php71;
18+
set $fastcgi_pass shopware52_php71:9000;
19+
20+
include /etc/nginx/include.shopware.conf;
21+
}
22+
23+
server {
24+
server_name localhost;
25+
listen 52870;
26+
27+
#access_log /var/logs/nginx_access.log;
28+
root /var/www/shopware52_php70;
29+
set $fastcgi_pass shopware52_php70:9000;
30+
31+
include /etc/nginx/include.shopware.conf;
32+
}
33+
34+
server {
35+
server_name localhost;
36+
listen 53872;
37+
38+
#access_log /var/logs/nginx_access.log;
39+
root /var/www/shopware53_php72;
40+
set $fastcgi_pass shopware53_php72:9000;
41+
42+
include /etc/nginx/include.shopware.conf;
43+
}
44+
45+
server {
46+
server_name localhost;
47+
listen 53871;
48+
49+
#access_log /var/logs/nginx_access.log;
50+
root /var/www/shopware53_php71;
51+
set $fastcgi_pass shopware53_php71:9000;
52+
53+
include /etc/nginx/include.shopware.conf;
54+
}
55+
56+
server {
57+
server_name localhost;
58+
listen 53870;
59+
60+
#access_log /var/logs/nginx_access.log;
61+
root /var/www/shopware53_php70;
62+
set $fastcgi_pass shopware53_php70:9000;
63+
64+
include /etc/nginx/include.shopware.conf;
65+
}
66+
67+
server {
68+
server_name localhost;
69+
listen 54872;
470

571
#access_log /var/logs/nginx_access.log;
672
root /var/www/shopware54_php72;
@@ -11,7 +77,7 @@ server {
1177

1278
server {
1379
server_name localhost;
14-
listen 10871;
80+
listen 54871;
1581

1682
#access_log /var/logs/nginx_access.log;
1783
root /var/www/shopware54_php71;
@@ -22,11 +88,44 @@ server {
2288

2389
server {
2490
server_name localhost;
25-
listen 10870;
91+
listen 54870;
2692

2793
#access_log /var/logs/nginx_access.log;
2894
root /var/www/shopware54_php70;
2995
set $fastcgi_pass shopware54_php70:9000;
3096

3197
include /etc/nginx/include.shopware.conf;
3298
}
99+
100+
server {
101+
server_name localhost;
102+
listen 55872;
103+
104+
#access_log /var/logs/nginx_access.log;
105+
root /var/www/shopware55_php72;
106+
set $fastcgi_pass shopware55_php72:9000;
107+
108+
include /etc/nginx/include.shopware.conf;
109+
}
110+
111+
server {
112+
server_name localhost;
113+
listen 55871;
114+
115+
#access_log /var/logs/nginx_access.log;
116+
root /var/www/shopware55_php71;
117+
set $fastcgi_pass shopware55_php71:9000;
118+
119+
include /etc/nginx/include.shopware.conf;
120+
}
121+
122+
server {
123+
server_name localhost;
124+
listen 55870;
125+
126+
#access_log /var/logs/nginx_access.log;
127+
root /var/www/shopware55_php70;
128+
set $fastcgi_pass shopware55_php70:9000;
129+
130+
include /etc/nginx/include.shopware.conf;
131+
}

0 commit comments

Comments
 (0)