Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8391871
vhost_header.erb
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
478 B
Subscribers
None
vhost_header.erb
View Options
server {
listen
<%=
listen_ip
%>
;
<%
# check to see if ipv6 support exists in the kernel before applying
%>
<%
if
ipv6_enable
==
'true'
&&
(
defined?
ipaddress6
)
%>
listen [
<%=
ipv6_listen_ip
%>
]:
<%=
ipv6_listen_port
%>
default ipv6only=on;
<%
end
%>
server_name
<%=
rewrite_www_to_non_www
?
name
.
gsub
(
/^www\./
,
''
)
:
server_name
.
join
(
" "
)
%>
;
access_log
<%=
scope
.
lookupvar
(
'nginx::params::nx_logdir'
)
%>
/
<%=
name
%>
.access.log;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jun 4 2025, 6:51 PM (11 w, 6 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3398829
Attached To
rSPNGX Puppet NGINX management module
Event Timeline
Log In to Comment