egyptianbman / docker-centos-nginx-php Goto Github PK
View Code? Open in Web Editor NEWA simple and highly configurable docker container running centos, nginx and php-fpm.
Home Page: https://hub.docker.com/r/egyptianbman/docker-centos-nginx-php/
A simple and highly configurable docker container running centos, nginx and php-fpm.
Home Page: https://hub.docker.com/r/egyptianbman/docker-centos-nginx-php/
how can I config https server? I tried many times, but still can't work.
` server {
listen 443 ssl http2 default_server;
listen [::]:443 ssl http2 default_server;
server_name www.angelvcpe.cn;
root /data/www/angelvcpe.cn;
ssl_certificate "/etc/nginx/ssls/angelvcpe.cn.pem";
ssl_certificate_key "/etc/nginx/ssls/angelvcpe.cn.key";
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 10m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location / {
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}`
`server {
listen 443;
# ssl http2;
listen 80;
ssl on;
ssl_certificate "/data/www/ssls/wildcard.angelvcpe.cn.pem";
ssl_certificate_key "/data/www/ssls/wildcard.angelvcpe.cn.key";
ssl_session_timeout 5m;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
server_name www.angelvcpe.cn angelvcpe.cn;
location / {
root /data/www/angelvcpe.cn;
index index.php index.html index.htm;
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root /usr/share/nginx/html;
}
location ~ ^.+\.php {
root html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME /data/www/angelvcpe.cn$fastcgi_script_name;
include fastcgi_params;
}
}`
tried to use above config, but not working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.