Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Michael Iseard
Wordpress Docker
Commits
89b877c5
Commit
89b877c5
authored
Nov 30, 2019
by
Michael Iseard
Browse files
Add HTTPS on
parent
404ea9e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
nginx/snippets/wordpress.conf
View file @
89b877c5
...
@@ -97,6 +97,7 @@ gzip_types text/plain text/css application/json application/javascript applicati
...
@@ -97,6 +97,7 @@ gzip_types text/plain text/css application/json application/javascript applicati
# Pass all .php files onto a php-fpm/php-fcgi server.
# Pass all .php files onto a php-fpm/php-fcgi server.
location
~ \.
php
$ {
location
~ \.
php
$ {
try_files
$
uri
=
404
;
try_files
$
uri
=
404
;
fastcgi_param
HTTPS
'on'
;
fastcgi_split_path_info
^(.+\.
php
)(/.+)$;
fastcgi_split_path_info
^(.+\.
php
)(/.+)$;
fastcgi_pass
wordpress
:
9000
;
fastcgi_pass
wordpress
:
9000
;
fastcgi_index
index
.
php
;
fastcgi_index
index
.
php
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment