mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
use public API to expose apache/nginx entrypoints
This commit is contained in:
parent
f7bb6ce5f1
commit
54318c04e9
4 changed files with 19 additions and 5 deletions
|
|
@ -1,6 +1,6 @@
|
|||
""" Entry point for Apache Plugin """
|
||||
|
||||
from certbot._internal.plugins.apache import entrypoint
|
||||
import certbot.plugins.apache
|
||||
|
||||
|
||||
ENTRYPOINT = entrypoint.get_configurator()
|
||||
ENTRYPOINT = certbot.plugins.apache.ENTRYPOINT
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
""" Entry point for Apache Plugin """
|
||||
""" Entry point for Nginx Plugin """
|
||||
|
||||
from certbot._internal.plugins.nginx import configurator
|
||||
import certbot.plugins.nginx
|
||||
|
||||
|
||||
ENTRYPOINT = configurator.NginxConfigurator
|
||||
ENTRYPOINT = certbot.plugins.nginx.ENTRYPOINT
|
||||
|
|
|
|||
7
certbot/src/certbot/plugins/apache.py
Normal file
7
certbot/src/certbot/plugins/apache.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
"""Despite being public API, this is only meant for use in our certbot-apache plugin, and isn't
|
||||
intended for public use."""
|
||||
|
||||
from certbot._internal.plugins.apache import entrypoint
|
||||
|
||||
|
||||
ENTRYPOINT = entrypoint.get_configurator()
|
||||
7
certbot/src/certbot/plugins/nginx.py
Normal file
7
certbot/src/certbot/plugins/nginx.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
"""Despite being public API, this is only meant for use in our certbot-nginx plugin, and isn't
|
||||
intended for public use."""
|
||||
|
||||
from certbot._internal.plugins.nginx import configurator
|
||||
|
||||
|
||||
ENTRYPOINT = configurator.NginxConfigurator
|
||||
Loading…
Reference in a new issue