File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,24 @@ Twig shortcuts (or are :ref:`processing your assets through entrypoints.json <lo
17
17
in some other way), you're done: the paths in your templates will automatically point
18
18
to the dev server.
19
19
20
+ Enabling HTTPS using the Symfony Web Server
21
+ -------------------------------------------
22
+
23
+ If you're using the :doc: `Symfony web server </setup/symfony_server >` locally with HTTPS,
24
+ you'll need to also tell the dev-server to use HTTPS. To do this, you can reuse the Symfony web
25
+ server SSL certificate:
26
+
27
+ .. code-block :: terminal
28
+
29
+ # Unix-based systems
30
+ $ yarn dev-server --https --pfx=$HOME/.symfony/certs/default.p12
31
+
32
+ # Windows
33
+ $ encore dev-server --https --pfx=%UserProfile%\.symfony\certs\default.p12
34
+
35
+ dev-server Options
36
+ ------------------
37
+
20
38
The ``dev-server `` command supports all the options defined by `webpack-dev-server `_.
21
39
You can set these options via command line options:
22
40
You can’t perform that action at this time.
0 commit comments