summaryrefslogtreecommitdiffstatshomepage
path: root/nginx-mode.el
diff options
context:
space:
mode:
Diffstat (limited to 'nginx-mode.el')
-rw-r--r--nginx-mode.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/nginx-mode.el b/nginx-mode.el
index 0f7cf8c..75d074d 100644
--- a/nginx-mode.el
+++ b/nginx-mode.el
@@ -187,9 +187,7 @@ The variable nginx-indent-level controls the amount of indentation.
;;;###autoload
(add-to-list 'auto-mode-alist '("nginx\\.conf\\'" . nginx-mode))
;;;###autoload
-(add-to-list 'auto-mode-alist '("/nginx/.*\\.conf\\'" . nginx-mode))
-;;;###autoload
-(add-to-list 'auto-mode-alist '("/nginx/sites-\\(?:available\\|enabled\\)/" . nginx-mode))
+(add-to-list 'auto-mode-alist '("/nginx/.+\\.conf\\'" . nginx-mode))
(provide 'nginx-mode)