Created
June 9, 2024 22:21
-
-
Save kirmorozov/e0c30a6d327bc482f7a91848ceb9f0f0 to your computer and use it in GitHub Desktop.
Local magento configs
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
upstream fastcgi_backend_php80 { | |
# use tcp connection | |
server 127.0.0.1:9010; | |
# or socket | |
# server unix:/var/run/php/php7.0-fpm.sock; | |
} |
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
server { | |
listen 80; | |
listen 443 ssl http2; | |
ssl_certificate ssl/selfsigned.crt; | |
ssl_certificate_key ssl/selfsigned.key; | |
server_name ~^(www\.)?(?<domain>[^.]+.loc)$; | |
set $MAGE_ROOT /Users/USER/FOLDER/_domains/$domain; | |
set $PHPV php80; | |
include conf.d/magento2.conf.example; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment