mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
remove access_log and error_log cruft that wasn't being executed
This commit is contained in:
parent
cd2188a681
commit
265afaf7a0
1 changed files with 0 additions and 10 deletions
|
|
@ -101,16 +101,6 @@ class NginxHttp01(common.ChallengePerformer):
|
|||
location_directive = [[['location', ' ', '=', ' ', validation_path],
|
||||
[['default_type', ' ', 'text/plain'],
|
||||
['return', ' ', '200', ' ', validation]]]]
|
||||
log_directives = [# access and error logs necessary for
|
||||
# integration testing (non-root)
|
||||
['access_log', ' ', os.path.join(
|
||||
self.configurator.config.work_dir, 'access.log')],
|
||||
['error_log', ' ', os.path.join(
|
||||
self.configurator.config.work_dir, 'error.log')]
|
||||
]
|
||||
|
||||
self.configurator.parser.add_server_directives(vhost,
|
||||
location_directive, replace=False)
|
||||
if False: # TODO: detect if we're integration testing
|
||||
self.configurator.parser.add_server_directives(vhost,
|
||||
log_directives, replace=False)
|
||||
|
|
|
|||
Loading…
Reference in a new issue