Skip to content
This repository has been archived by the owner on Jan 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #323 from Spredzy/listen_ipv6
Browse files Browse the repository at this point in the history
pulp_webserver: Listen for IPv6 connections
  • Loading branch information
fao89 committed Jun 8, 2020
2 parents c0d1314 + 8e67de9 commit 1dece01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES/6923.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allow Nginx to listen for both IPv4 and IPv6 connections.
2 changes: 1 addition & 1 deletion roles/pulp_webserver/templates/nginx.conf.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# TODO: Support IPv6.
# TODO: Configure SSL certificates.
# TODO: Maybe serve multiple `location`s, not just one.

Expand Down Expand Up @@ -34,6 +33,7 @@ http {
server {
# Gunicorn docs suggest the use of the "deferred" directive on Linux.
listen 80 default_server deferred;
listen [::]:80 default_server deferred;
server_name $hostname;

# The default client_max_body_size is 1m. Clients uploading
Expand Down

0 comments on commit 1dece01

Please sign in to comment.