Question: I would like to use JAXB to read and write only a few parts of a very large XML. I would like to be able to do this without having to define a root object class for every element and attribute in the XML. The example below outlines what I need:

I have the XML

```xml
<A>
  <B/>
  <C/>
  <D/>
</A>

```

I would like to use JAXB to get two functions

```java
public String getC() {
    ...    
    return C
}

public void writeC(String C) {
    ... // replaces C value with the paramter C inside the XML
}

```

Without having to define a new class A with the annotations for B, C, and D.

How can I do this with JAXB? Is there a faster / more efficient way to achieve what I am trying to do than JAXB or a simple File Reader and Writer?

The purpose of this is to use a GUI to load and edit config settings that are stored in an XML file. Thank you.

Answer: 
Your `server` section is missing `ssl_certificate` and `ssl_certificate_key` declarations.

You need to have a `.crt` and a `.key` file to run with ssl.

It should looks like

```
server {

  listen 80;

  listen 443 default_server ssl;
  ssl_certificate /etc/nginx/certs/default.crt;
  ssl_certificate_key /etc/nginx/certs/default.key;

  ... other declarations

}

```
Had the same problem.
Adding directive

```
ssl on;

```

solved my problem.