HEX
HEX
Server: Apache/2.4.29 (Ubuntu)
System: Linux 2amigos-php74 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
User: squarehillcompany.com (1002)
PHP: 7.4.25
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //etc/apache2/sites-enabled/018-favepage-dev.2amigos.us-le-ssl.conf
<IfModule mod_ssl.c>
<VirtualHost *:443>
        ServerName favepage-dev.2amigos.us
        DocumentRoot /var/www/vhosts/favepage-dev.2amigos.us/docroot/build

        <Directory /var/www/vhosts/favepage-dev.2amigos.us/docroot/build>
                Options FollowSymLinks
                AllowOverride All

                Allow from 107.20.185.102
                Allow from 138.201.82.136
                Allow from 3.209.222.142
                Satisfy any
                AuthType Basic
                AuthBasicProvider file
                AuthUserFile /var/www/vhosts/.htpasswd.favepage
                AuthName secure
                Require valid-user
        </Directory>

#	ProxyPass / http://127.0.0.1:14200/
#	ProxyPassReverse / http://127.0.0.1:14200/
#	ProxyRequests Off

        Alias /deploy /var/www/vhosts/favepage-dev.2amigos.us/cgi-bin/
        <Directory "/var/www/vhosts/favepage-dev.2amigos.us/cgi-bin">
        AllowOverride None
        Options None

                <IfModule setenvif_module>
                    SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
                </IfModule>

                <FilesMatch ".+\.ph(ar|p|tml)$">
                    SetHandler "proxy:unix:/run/php/deploy_favepage-dev.2amigos.us.sock|fcgi://deploy_favepage-dev.2amigos.us"
                </FilesMatch>
                <FilesMatch ".+\.phps$">
                    Require all denied
                </FilesMatch>
                <FilesMatch "^\.ph(ar|p|ps|tml)$">
                    Require all denied
                </FilesMatch>
       </Directory>

        RedirectMatch 404 /\.git
        ErrorLog ${APACHE_LOG_DIR}/favepage-dev.2amigos.us-error_log
        CustomLog ${APACHE_LOG_DIR}/favepage-dev.2amigos.us-access_log common


SSLCertificateFile /etc/letsencrypt/live/favepage-dev.2amigos.us/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/favepage-dev.2amigos.us/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
</VirtualHost>
</IfModule>