-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1bb0586
commit 96dccce
Showing
5 changed files
with
164 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
FROM nginx:latest | ||
LABEL maintainer "[email protected]" | ||
ADD ./dist /usr/share/nginx/html | ||
ADD ./nginx /etc/nginx/conf.d/ | ||
ADD ./nginx/garden.songxingguo.com_bundle.crt /etc/nginx/https | ||
ADD ./nginx/garden.songxingguo.com.key /etc/nginx/https | ||
ADD ./nginx/default.conf /etc/nginx/conf.d | ||
WORKDIR /usr/share/nginx/html/ | ||
RUN chown -R daemon:daemon * && chmod -R 755 * | ||
EXPOSE 80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
server { | ||
listen 80; | ||
listen [::]:80; | ||
server_name garden.songxingguo.com; | ||
|
||
#access_log /var/log/nginx/host.access.log main; | ||
|
||
location / { | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
error_page 404 /404.html; | ||
try_files $uri $uri.html $uri/ =404; | ||
} | ||
|
||
#error_page 404 /404.html; | ||
|
||
# redirect server error pages to the static page /50x.html | ||
# | ||
error_page 500 502 503 504 /50x.html; | ||
location = /50x.html { | ||
root /usr/share/nginx/html; | ||
} | ||
|
||
# proxy the PHP scripts to Apache listening on 127.0.0.1:80 | ||
# | ||
#location ~ \.php$ { | ||
# proxy_pass http://127.0.0.1; | ||
#} | ||
|
||
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 | ||
# | ||
#location ~ \.php$ { | ||
# root html; | ||
# fastcgi_pass 127.0.0.1:9000; | ||
# fastcgi_index index.php; | ||
# fastcgi_param SCRIPT_FILENAME /scripts$fastcgi_script_name; | ||
# include fastcgi_params; | ||
#} | ||
|
||
# deny access to .htaccess files, if Apache's document root | ||
# concurs with nginx's one | ||
# | ||
#location ~ /\.ht { | ||
# deny all; | ||
#} | ||
} | ||
|
||
server { | ||
listen 443 ssl http2; | ||
server_name garden.songxingguo.com; | ||
|
||
ssl on; | ||
ssl_certificate /etc/nginx/https/garden.songxingguo.com_bundle.crt; | ||
ssl_certificate_key /etc/nginx/https/garden.songxingguo.com.key; | ||
|
||
ssl_session_timeout 5m; | ||
|
||
ssl_ciphers HIGH:!aNULL:!MD5; | ||
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2; | ||
ssl_prefer_server_ciphers on; | ||
|
||
location / { | ||
root /usr/share/nginx/html; | ||
index index.html index.htm; | ||
error_page 404 /404.html; | ||
try_files $uri $uri.html $uri/ =404; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-----BEGIN RSA PRIVATE KEY----- | ||
MIIEowIBAAKCAQEAv6L7dQdROoTUOBiyz3bgbjp+pu6OMm2zLxkPrvxFLz4qcybg | ||
BOJJl68wa5OA/a8IJUMPyeqOcL+QmxgxWBABf0cMl+VoqWDVxmAnjMasZG3kctKH | ||
ejwWbroYR6quEmq4tquAzpsK8AC6rBBcaB2CLwhYsb3yTQKpRkvEf98n+7hbA/XZ | ||
az9azUFG1g4Ptlx9MfoprTy5ZQj6xp4pMjbLI0bNvdianAcE/HWb7qE60yyQermP | ||
+73NkE2K/bl2Swz3yrGv8VS2Qp7xm4oyG+WAKgLFLmu63BPgxo5t9fpROimI5X4F | ||
hbtjRa3ZZjFk6gsoIfOOd6SmdVA9pWBK1Rd74QIDA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CYOrh06/T5yOvRKTAbtlZ/IpHnVxcKSKs+1gjCD | ||
sLkJAoGBAIR5QsQO8bXB4z1b23rRSR5gSkFSTz5+oS8cxzMKAZ3ZhB3qUMFtU/nU | ||
txi7if02wm86eykxE4V5ktTTFK4OfpnVrPnktXgXV5dK3tMNt8kPc4AY+fl3SsDp | ||
NTcuFeDqNgD9Gu1vCWNT42j5YJChI4MzhkKbVQmL84peHOpgrB90 | ||
-----END RSA PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIGdjCCBN6gAwIBAgIRAJuQmGip7ylb+E+R6uUokIQwDQYJKoZIhvcNAQEMBQAw | ||
WTELMAkGA1UEBhMCQ04xJTAjBgNVBAoTHFRydXN0QXNpYSBUZWNobm9sb2dpZXMs | ||
IEluYy4xIzAhBgNVBAMTGlRydXN0QXNpYSBSU0EgRFYgVExTIENBIEcyMB4XDTI0 | ||
MDQxOTAwMDAwMFoXDTI1MDQxOTIzNTk1OVowITEfMB0GA1UEAxMWZ2FyZGVuLnNv | ||
bmd4aW5nZ3VvLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL+i | ||
+3UHUTqE1DgYss924G46fqbujjJtsy8ZD678RS8+KnMm4ATiSZevMGuTgP2vCCVD | ||
D8nqjnC/kJsYMVgQAX9HDJflaKlg1cZgJ4zGrGRt5HLSh3o8Fm66GEeqrhJquLar | ||
gM6bCvAAuqwQXGgdgi8IWLG98k0CqUZLxH/fJ/u4WwP12Ws/Ws1BRtYOD7ZcfTH6 | ||
Ka08uWUI+saeKTI2yyNGzb3YmpwHBPx1m+6hOtMskHq5j/u9zZBNiv25dksM98qx | ||
r/FUtkKe8ZuKMhvlgCoCxS5rutwT4MaObfX6UTopiOV+BYW7Y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9w0BAQsFAAOCAQEAHMUom5cxIje2IiFU7mOCsBr2F6CY | ||
eU5cyfQ/Aep9kAXYUDuWsaT85721JxeXFYkf4D/cgNd9+hxT8ZeDOJrn+ysqR7NO | ||
2K9AdqTdIY2uZPKmvgHOkvH2gQD6jc05eSPOwdY/10IPvmpgUKaGOa/tyygL8Og4 | ||
3tYyoHipMMnS4OiYKakDJny0XVuchIP7ZMKiP07Q3FIuSS4omzR77kmc75/6Q9dP | ||
v4wa90UCOn1j6r7WhMmX3eT3Gsdj3WMe9bYD0AFuqa6MDyjIeXq08mVGraXiw73s | ||
Zale8OMckn/BU3O/3aFNLHLfET2H2hT6Wb3nwxjpLIfXmSVcVd8A58XH0g== | ||
-----END CERTIFICATE----- |
This file was deleted.
Oops, something went wrong.