-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaqveir-apache.conf
More file actions
executable file
·134 lines (108 loc) · 4.21 KB
/
Copy pathaqveir-apache.conf
File metadata and controls
executable file
·134 lines (108 loc) · 4.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
Listen 8989
##
## AQVEIR SOLUTION - (Virtual Host Context)
##
## http://*.aqveir.com OR http://api.aqveir.com
##
<VirtualHost _default_:8989>
# General setup for the virtual host, inherited from global configuration
ServerName localhost
ServerAlias *.aqveir.in
DocumentRoot "/aqveir/aqveir-api/public"
DirectoryIndex index.php
#ProxyPreserveHost On
#ProxyPass "/" "http://127.0.0.1:8000/"
#ProxyPassReverse "/" "http://127.0.0.1:8000/"
# Use separate log files for the virtual host; note that LogLevel
# is not inherited from httpd.conf.
#CustomLog /aqveir/aqveir-api/storage/logs/custom_apache_aqveir.log combined
#ErrorLog /aqveir/aqveir-api/storage/logs/error_apache_aqveir.log
TransferLog logs/access_aqveir_log
LogLevel warn
<Directory "/aqveir/aqveir-api/public">
Options Indexes FollowSymLinks
AllowOverride All
<IfVersion < 2.3 >
Order allow,deny
Allow from all
</IfVersion>
<IfVersion >= 2.3 >
Require all granted
</IfVersion>
</Directory>
</VirtualHost>
# Listen 443
# ##
# ## AQVEIR SOLUTION - PROD (SSL Virtual Host Context)
# ##
# ## https://*.aqveir.com OR https://api.aqveir.com
# ##
# <VirtualHost _default_:443>
# # General setup for the virtual host, inherited from global configuration
# DocumentRoot "/aqveir/aqveir-api/public"
# ServerName api.aqveir.com:443
# ServerAlias *.aqveir.com
# DirectoryIndex index.php
# # Use separate log files for the SSL virtual host; note that LogLevel
# # is not inherited from httpd.conf.
# ErrorLog logs/ssl_error_aqveir_log
# TransferLog logs/ssl_access_aqveir_log
# LogLevel warn
# # SSL Engine Switch:
# SSLEngine on
# # SSL Protocol support:
# SSLProtocol all -SSLv3
# # SSL Cipher Suite:
# SSLCipherSuite HIGH:MEDIUM:!aNULL:!MD5:!SEED:!IDEA
# # Speed-optimized SSL Cipher configuration:
# #SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:MEDIUM:!aNULL:!MD5
# #SSLHonorCipherOrder on
# # Server Certificate:
# SSLCertificateFile /etc/letsencrypt/live/aqveir.com/cert.pem
# # Server Private Key:
# SSLCertificateKeyFile /etc/letsencrypt/live/aqveir.com/privkey.pem
# # Server Certificate Chain:
# SSLCertificateChainFile /etc/letsencrypt/live/aqveir.com/fullchain.pem
# # Certificate Authority (CA):
# #SSLCACertificateFile /etc/pki/tls/certs/ca-bundle.crt
# # Client Authentication (Type):
# #SSLVerifyClient require
# #SSLVerifyDepth 10
# # Access Control:
# # With SSLRequire you can do per-directory access control based
# # on arbitrary complex boolean expressions containing server
# # variable checks and other lookup directives. The syntax is a
# # mixture between C and Perl. See the mod_ssl documentation
# # for more details.
# #<Location />
# #SSLRequire ( %{SSL_CIPHER} !~ m/^(EXP|NULL)/
# # and %{SSL_CLIENT_S_DN_O} eq "Snake Oil, Ltd."
# # and %{SSL_CLIENT_S_DN_OU} in {"Staff", "CA", "Dev"}
# # and %{TIME_WDAY} >= 1 and %{TIME_WDAY} <= 5
# # and %{TIME_HOUR} >= 8 and %{TIME_HOUR} <= 20 )
# #</Location>
# # SSL Engine Options:
# #SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire
# <Files ~ ".(cgi|shtml|phtml|php3?)$">
# SSLOptions +StdEnvVars
# </Files>
# <Directory "/aqveir/aqveir-api/public">
# Options Indexes FollowSymLinks
# AllowOverride All
# SSLOptions +StdEnvVars
# <IfVersion < 2.3 >
# Order allow,deny
# Allow from all
# </IfVersion>
# <IfVersion >= 2.3 >
# Require all granted
# </IfVersion>
# </Directory>
# # SSL Protocol Adjustments:
# BrowserMatch "MSIE [2-5]"
# nokeepalive ssl-unclean-shutdown
# downgrade-1.0 force-response-1.0
# # Per-Server Logging:
# CustomLog logs/ssl_request_log
# "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x "%r" %b"
# </VirtualHost>