i try to send webhook event to my website that hosted by AWS EC2 and apache2 server .
I already made security group for 443 and 80 ports . and has webhook route and function to receive coinbase webhook event ,
my apache configuration is as follow
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
#ServerName www.example.com
ServerAdmin webmaster@localhost
ServerName domainname
DocumentRoot /var/www/html/revo/public
<Directory /var/www/html/revo/public>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{SERVER_NAME}$1 [R,L]
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/revo/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
CustomLog ${APACHE_LOG_DIR}/coinbase_webhook.log combined
SSLEngine on
SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem
SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
# Disable forward proxy functionality
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /webhook/coinbase https://domainname/webhook/coinbase
ProxyPassReverse /webhook/coinbase https://domainname/webhook/coinbase
<Location /webhook/coinbase>
Header set Access-Control-Allow-Origin "https://commerce.coinbase.com"
Header set Access-Control-Allow-Methods "POST, GET, OPTIONS"
Header set Access-Control-Allow-Headers "Content-Type"
</Location>
</VirtualHost>
what wrong ? why cannot connect to my webhook url from coinbase .
here is webhook subscription url that save in coinbase
https://mydomain/webhook/coinbase …
can you help me why coinbase cannot connect to my website ,
there is no error message in apache error log also .